@@ -14,7 +14,7 @@
|
||||
@@ -32,6 +36,11 @@
|
||||
protected void entityInside(IBlockData iblockdata, World world, BlockPosition blockposition, Entity entity) {
|
||||
super.entityInside(iblockdata, world, blockposition, entity);
|
||||
if (world instanceof WorldServer && entity instanceof EntityBoat) {
|
||||
if (world instanceof WorldServer && entity instanceof AbstractBoat) {
|
||||
+ // CraftBukkit start
|
||||
+ if (!CraftEventFactory.callEntityChangeBlockEvent(entity, blockposition, Blocks.AIR.defaultBlockState())) {
|
||||
+ return;
|
||||
|
||||
Reference in New Issue
Block a user