@@ -57,7 +57,7 @@
|
||||
return itemstack;
|
||||
}
|
||||
|
||||
@@ -73,6 +107,14 @@
|
||||
@@ -75,6 +109,14 @@
|
||||
d0 = 0.5D;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
+ org.bukkit.event.player.PlayerInteractEvent event = org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(entityhuman, org.bukkit.event.block.Action.RIGHT_CLICK_BLOCK, blockposition, enumdirection, itemstack);
|
||||
+
|
||||
+ if (event.isCancelled()) {
|
||||
+ return false;
|
||||
+ return EnumInteractionResult.PASS;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user