Fixed blocks placing when using shift+click to inspect trapdoors (#134)
This commit is contained in:
parent
21eefff53f
commit
29d55e6ba9
|
@ -390,7 +390,7 @@ public final class PlayerInteractListener extends Queue implements Listener {
|
|||
Thread thread = new Thread(runnable);
|
||||
thread.start();
|
||||
|
||||
if (!BlockGroup.SAFE_INTERACT_BLOCKS.contains(type)) {
|
||||
if (!BlockGroup.SAFE_INTERACT_BLOCKS.contains(type) || player.isSneaking()) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue