Mojang fixed this, resolves #207

This commit is contained in:
Seth 2020-07-01 03:28:33 -07:00
parent e4d1d6ff9e
commit 9d7e0cdefc
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3

View File

@ -47,16 +47,6 @@ 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);
}
if (line1.contains("translation.test.") || line2.contains("translation.test.") || line3.contains("translation.test.") || line4.contains("translation.test."))
{
player.sendMessage(ChatColor.BOLD + "No.");
event.setCancelled(true);
}
}
}