SteamWar/FightSystem
Archiviert
13
1

Remove Debug Message

Dieser Commit ist enthalten in:
Chaoscaot 2020-11-28 12:07:41 +01:00
Ursprung 5366011bd7
Commit 9984fc0179

Datei anzeigen

@ -101,7 +101,6 @@ public class ArrowStopper implements StateDependent {
} }
private boolean checkBlocks(Block start, Block end) { private boolean checkBlocks(Block start, Block end) {
Bukkit.getOnlinePlayers().forEach(player -> player.sendBlockChange(start.getLocation(), Material.LIME_STAINED_GLASS.createBlockData()));
Block cursor = start; Block cursor = start;
while (cursor.getY() != end.getY()) { while (cursor.getY() != end.getY()) {
@ -132,7 +131,6 @@ public class ArrowStopper implements StateDependent {
} }
private boolean checkBlock(Block block) { private boolean checkBlock(Block block) {
Bukkit.getOnlinePlayers().forEach(player -> player.sendBlockChange(block.getLocation(), Material.RED_STAINED_GLASS.createBlockData()));
return Config.HiddenBlocks.contains(blockToId(block)); return Config.HiddenBlocks.contains(blockToId(block));
} }
} }