From 3d8263f9f89dd94c2abdd3293ab62ca3dd0d8f05 Mon Sep 17 00:00:00 2001 From: durron597 Date: Sun, 9 Jan 2011 13:15:45 -0500 Subject: [PATCH] Tahg's fix for BlockDoor needs to downcast --- src/main/java/net/minecraft/server/BlockDoor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/BlockDoor.java b/src/main/java/net/minecraft/server/BlockDoor.java index 08fba33b6c..f051febaa5 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); }