mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-06 20:42:57 +00:00
bruh
maybe this might lower codebeat's quality
This commit is contained in:
parent
75168dbb38
commit
e884d9b47e
3 changed files with 6 additions and 2 deletions
|
@ -59,6 +59,11 @@ public class SignBlocker extends FreedomService
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue