summaryrefslogtreecommitdiffstats
path: root/nms-patches/ItemBoat.patch
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2015-02-26 22:41:06 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2015-03-04 09:48:58 +0000
commitd8a9c7be4227b2243968b63ab7cc7a00098c93ad (patch)
tree554a08a5f23ffa5dd66a28247d6358515b1ffb7a /nms-patches/ItemBoat.patch
parent33d5de312e9fcc8aec3fc53136658cb6920562aa (diff)
downloadcraftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar.gz
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar.lz
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar.xz
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.zip
Update to Minecraft 1.8.3
Diffstat (limited to 'nms-patches/ItemBoat.patch')
-rw-r--r--nms-patches/ItemBoat.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/ItemBoat.patch b/nms-patches/ItemBoat.patch
index 620564b2..1afa794e 100644
--- a/nms-patches/ItemBoat.patch
+++ b/nms-patches/ItemBoat.patch
@@ -1,10 +1,9 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/ItemBoat.java 2014-11-28 17:43:43.217707432 +0000
-+++ src/main/java/net/minecraft/server/ItemBoat.java 2014-11-28 17:38:21.000000000 +0000
-@@ -53,6 +53,14 @@
- } else {
- if (movingobjectposition.type == EnumMovingObjectType.BLOCK) {
+--- /home/matt/mc-dev-private//net/minecraft/server/ItemBoat.java 2015-02-26 22:40:22.795608137 +0000
++++ src/main/java/net/minecraft/server/ItemBoat.java 2015-02-26 22:40:22.795608137 +0000
+@@ -54,6 +54,14 @@
+ if (movingobjectposition.type == MovingObjectPosition.EnumMovingObjectType.BLOCK) {
BlockPosition blockposition = movingobjectposition.a();
-+
+
+ // CraftBukkit start - Boat placement
+ org.bukkit.event.player.PlayerInteractEvent event = org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(entityhuman, org.bukkit.event.block.Action.RIGHT_CLICK_BLOCK, blockposition, movingobjectposition.direction, itemstack);
+
@@ -12,6 +11,7 @@
+ return itemstack;
+ }
+ // CraftBukkit end
-
++
if (world.getType(blockposition).getBlock() == Blocks.SNOW_LAYER) {
blockposition = blockposition.down();
+ }