summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authordurron597 <martin.jared@gmail.com>2011-01-09 13:15:45 -0500
committerdurron597 <martin.jared@gmail.com>2011-01-09 13:15:45 -0500
commit3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05 (patch)
treeef64b540e19aeb2b6aafe8fb0d07ddf22e3d303e /src/main/java
parente8a565e6cfd2bc326a1207e17165916f7a830497 (diff)
downloadcraftbukkit-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.java3
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);
}