summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockWaterLily.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-03-06 21:42:34 +1100
committermd_5 <git@md-5.net>2016-03-06 21:42:34 +1100
commit935349e3a39e3d39403afef0e750710fdc396d2a (patch)
tree1036abb442c8a3d27d2e4bcf72b7759ae76a5668 /nms-patches/BlockWaterLily.patch
parentbe0bbbabef31c05faf6aa1b2c982288e4fbd5126 (diff)
downloadcraftbukkit-935349e3a39e3d39403afef0e750710fdc396d2a.tar
craftbukkit-935349e3a39e3d39403afef0e750710fdc396d2a.tar.gz
craftbukkit-935349e3a39e3d39403afef0e750710fdc396d2a.tar.lz
craftbukkit-935349e3a39e3d39403afef0e750710fdc396d2a.tar.xz
craftbukkit-935349e3a39e3d39403afef0e750710fdc396d2a.zip
Fix issue with last patch.
Diffstat (limited to 'nms-patches/BlockWaterLily.patch')
-rw-r--r--nms-patches/BlockWaterLily.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockWaterLily.patch b/nms-patches/BlockWaterLily.patch
index 30f32ef9..1b10f877 100644
--- a/nms-patches/BlockWaterLily.patch
+++ b/nms-patches/BlockWaterLily.patch
@@ -8,4 +8,4 @@
+ if (entity instanceof EntityBoat && !org.bukkit.craftbukkit.event.CraftEventFactory.callEntityChangeBlockEvent(entity, blockposition.getX(), blockposition.getY(), blockposition.getZ(), Blocks.AIR, 0).isCancelled()) { // CraftBukkit
world.setAir(new BlockPosition(blockposition), true);
}
-
+