diff options
author | durron597 <martin.jared@gmail.com> | 2011-01-09 13:15:45 -0500 |
---|---|---|
committer | durron597 <martin.jared@gmail.com> | 2011-01-09 13:15:45 -0500 |
commit | 3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05 (patch) | |
tree | ef64b540e19aeb2b6aafe8fb0d07ddf22e3d303e /src/main/java | |
parent | e8a565e6cfd2bc326a1207e17165916f7a830497 (diff) | |
download | craftbukkit-3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05.tar craftbukkit-3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05.tar.gz craftbukkit-3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05.tar.lz craftbukkit-3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05.tar.xz craftbukkit-3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05.zip |
Tahg's fix for BlockDoor needs to downcast
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockDoor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockDoor.java b/src/main/java/net/minecraft/server/BlockDoor.java index 08fba33b..f051feba 100644 --- a/src/main/java/net/minecraft/server/BlockDoor.java +++ b/src/main/java/net/minecraft/server/BlockDoor.java @@ -28,7 +28,8 @@ public class BlockDoor extends Block { } 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); } |