Fix issue with last patch.

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-03-06 21:42:34 +11:00
parent f4888a28c5
commit 1ea9b3c75f

View file

@ -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);
}