Tahg's fix for BlockDoor needs to downcast

This commit is contained in:
durron597 2011-01-09 13:15:45 -05:00
parent e8a565e6cf
commit 3d8263f9f8

View File

@ -28,7 +28,8 @@ public class BlockDoor extends Block {
} }
public AxisAlignedBB d(World world, int i, int j, int k) { public AxisAlignedBB d(World world, int i, int j, int k) {
a(world, i, j, k); // Craftbukkit - Downcast necessary for doors to work
a((IBlockAccess) world, i, j, k);
return super.d(world, i, j, k); return super.d(world, i, j, k);
} }