Fix for placing blocks after interacting with a block
This commit is contained in:
parent
c1d9eac987
commit
2916cba631
@ -30,7 +30,7 @@ public class PlayerInteractEvent extends PlayerEvent implements Cancellable {
|
||||
this.blockClicked = clickedBlock;
|
||||
this.blockFace = clickedFace;
|
||||
|
||||
useItemInHand = item == null ? Result.DENY : Result.ALLOW;
|
||||
useItemInHand = item == null ? Result.DENY : Result.DEFAULT;
|
||||
useClickedBlock = clickedBlock == null ? Result.DENY : Result.ALLOW;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user