From b0cbecff2b0c7a883f7810802e10c8d4f7db378e Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 24 Mar 2011 12:12:21 +0100 Subject: [PATCH] Fix for placing blocks after interacting with a block By: Erik Broes --- .../main/java/org/bukkit/event/player/PlayerInteractEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java index 4f06f4d7b3..c3a1f498aa 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java @@ -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; }