View Code? Open in Web Editor
NEW
A Spigot Plugin - An Addition to GeyserMc that prevents bedrock players from placing blocks below them while running.
Home Page: https://www.spigotmc.org/resources/stopbedrockplacing.89459/
stopbedrockplacing's Introduction
stopbedrockplacing's People
Contributors
Stargazers
Watchers
stopbedrockplacing's Issues
There is a problem when i'm trying to place slabs/stairs. The stairs go in the wrong direction, i think the problem is on this line:
|
if (targetedBlock.equals(event.getBlock().getRelative(BlockFace.UP)) || targetedBlock.equals(event.getBlock().getRelative(BlockFace.DOWN)) || targetedBlock.equals(event.getBlock().getRelative(BlockFace.NORTH)) || targetedBlock.equals(event.getBlock().getRelative(BlockFace.EAST)) || targetedBlock.equals(event.getBlock().getRelative(BlockFace.SOUTH)) || targetedBlock.equals(event.getBlock().getRelative(BlockFace.WEST))) { |
And after that line, it has the event.setCancelled(true);
thing, i think it causes the problem.