mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2024-06-22 22:10:36 +00:00
Update Command_gtfo.java
This commit is contained in:
parent
ff8f6a1a96
commit
5ee8c31a3d
|
@ -59,16 +59,9 @@ public class Command_gtfo extends FreedomCommand
|
|||
plugin.rb.rollback(player.getName());
|
||||
|
||||
}
|
||||
|
||||
if (getServer().getPluginManager().isPluginEnabled("CoreProtect"))
|
||||
{
|
||||
try
|
||||
{
|
||||
server.dispatchCommand(sender, "co rollback t:1d r:#global #silent u:" + player.getName());
|
||||
}
|
||||
catch (NoClassDefFoundError ex)
|
||||
{
|
||||
}
|
||||
else
|
||||
{
|
||||
plugin.cpb.rollback(player.getName());
|
||||
}
|
||||
|
||||
// Deop
|
||||
|
@ -117,4 +110,4 @@ public class Command_gtfo extends FreedomCommand
|
|||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue