Fixed not being able to move properly around doors or trapdoors

This commit is contained in:
Dinnerbone 2011-09-16 21:08:21 +01:00
parent 900c541246
commit bd93cd7182
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ public class BlockDoor extends Block {
}
public AxisAlignedBB e(World world, int i, int j, int k) {
this.a(world, i, j, k);
this.a((IBlockAccess)world, i, j, k); // CraftBukkit - Make sure this points to the below method!
return super.e(world, i, j, k);
}

View File

@ -26,7 +26,7 @@ public class BlockTrapdoor extends Block {
}
public AxisAlignedBB e(World world, int i, int j, int k) {
this.a(world, i, j, k);
this.a((IBlockAccess)world, i, j, k); // CraftBukkit - Make sure this points to the below method!
return super.e(world, i, j, k);
}