From bd93cd718229861fc502e32d1a3fc88af74fbe7b Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Fri, 16 Sep 2011 21:08:21 +0100 Subject: [PATCH] Fixed not being able to move properly around doors or trapdoors --- src/main/java/net/minecraft/server/BlockDoor.java | 2 +- src/main/java/net/minecraft/server/BlockTrapdoor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/minecraft/server/BlockDoor.java b/src/main/java/net/minecraft/server/BlockDoor.java index 27f47e8536..1c9b1b4c9c 100644 --- a/src/main/java/net/minecraft/server/BlockDoor.java +++ b/src/main/java/net/minecraft/server/BlockDoor.java @@ -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); } diff --git a/src/main/java/net/minecraft/server/BlockTrapdoor.java b/src/main/java/net/minecraft/server/BlockTrapdoor.java index c8ea976fd0..52cbbcf824 100644 --- a/src/main/java/net/minecraft/server/BlockTrapdoor.java +++ b/src/main/java/net/minecraft/server/BlockTrapdoor.java @@ -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); }