Update Command_gtfo.java

This commit is contained in:
marcocorriero 2017-11-17 14:15:48 +01:00 committed by GitHub
parent ff8f6a1a96
commit 5ee8c31a3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,16 +59,9 @@ public class Command_gtfo extends FreedomCommand
plugin.rb.rollback(player.getName()); plugin.rb.rollback(player.getName());
} }
else
if (getServer().getPluginManager().isPluginEnabled("CoreProtect")) {
{ plugin.cpb.rollback(player.getName());
try
{
server.dispatchCommand(sender, "co rollback t:1d r:#global #silent u:" + player.getName());
}
catch (NoClassDefFoundError ex)
{
}
} }
// Deop // Deop