cubev3.com

This commit is contained in:
ZeroEpoch1969
2019-11-03 14:40:05 -07:00
parent 4f339b29b8
commit b525e53348
20 changed files with 119 additions and 36 deletions

View File

@ -54,6 +54,11 @@ public class SignBlocker extends FreedomService
player.sendMessage(ChatColor.GRAY + "You are not allowed to place command signs.");
event.setCancelled(true);
}
if (line1.contains("translate") || line2.contains("translate") || line3.contains("translate") || line4.contains("translate"))
{
player.sendMessage(ChatColor.GRAY + "You are not allowed to place broken strings that Mojang never fixed.");
event.setCancelled(true);
}
}
}