diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-16 21:08:21 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-16 21:08:47 +0100 |
commit | bd93cd718229861fc502e32d1a3fc88af74fbe7b (patch) | |
tree | dfd24df29a148536a70f6475feb71f8019a20881 /src/main/java/net | |
parent | 900c541246e2b480b63be60e71a4a9a8acc61d77 (diff) | |
download | craftbukkit-bd93cd718229861fc502e32d1a3fc88af74fbe7b.tar craftbukkit-bd93cd718229861fc502e32d1a3fc88af74fbe7b.tar.gz craftbukkit-bd93cd718229861fc502e32d1a3fc88af74fbe7b.tar.lz craftbukkit-bd93cd718229861fc502e32d1a3fc88af74fbe7b.tar.xz craftbukkit-bd93cd718229861fc502e32d1a3fc88af74fbe7b.zip |
Fixed not being able to move properly around doors or trapdoors
Diffstat (limited to 'src/main/java/net')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockDoor.java | 2 | ||||
-rw-r--r-- | 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 27f47e85..1c9b1b4c 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 c8ea976f..52cbbcf8 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); } |