This commit is contained in:
ZeroEpoch1969
2018-08-11 21:21:57 -07:00
parent 3895c2235e
commit d17457dbfa
3 changed files with 25 additions and 4 deletions

View File

@ -55,8 +55,6 @@ public class WorldEditListener extends PluginListener<TotalFreedomMod>
if (event.getLimit() < 0 || event.getLimit() > 200000)
{
player.setOp(false);
FUtil.bcastMsg(event.getPlayer().getName() + " tried to set their WorldEdit limit to " + event.getLimit() + " and has been de-opped", ChatColor.RED);
event.setCancelled(true);
player.sendMessage(ChatColor.RED + "You cannot set your limit higher than 200000 or to -1!");
}