Arrows Stopping in Techhider Blocks #208
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren