Update to Minecraft 1.9

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-03-01 08:32:46 +11:00
parent 2da480a9c8
commit 21d4bf5d1f
305 changed files with 6684 additions and 6105 deletions

View File

@@ -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
+