change: allow knocked players to interact with blocks
This commit is contained in:
parent
d5109548c8
commit
6017cb54a2
1 changed files with 0 additions and 6 deletions
|
@ -132,12 +132,6 @@ public class KnockdownsEvents {
|
|||
}
|
||||
return CompoundEventResult.pass();
|
||||
});
|
||||
InteractionEvent.RIGHT_CLICK_BLOCK.register((player, hand, pos, direction) -> {
|
||||
if (KnockdownsUtils.isKnockedOrReviving(player)) {
|
||||
return EventResult.interruptFalse();
|
||||
}
|
||||
return EventResult.pass();
|
||||
});
|
||||
}
|
||||
|
||||
private static void registerOnEntityUse() {
|
||||
|
|
Loading…
Reference in a new issue