summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockWaterLily.patch
diff options
context:
space:
mode:
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);
}
-
+