Do not allow player who sneak to sit
This commit is contained in:
parent
38d9aaf229
commit
5e5ca198df
@ -92,6 +92,10 @@ public class EventListener implements Listener {
|
||||
WoodenStep wStep = null;
|
||||
boolean blockOkay = false;
|
||||
|
||||
if (player.isSneaking()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ignoreList.isIgnored(player.getName())) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user