mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
Fixed not being able to move properly around doors or trapdoors
This commit is contained in:
parent
900c541246
commit
bd93cd7182
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ public class BlockDoor extends Block {
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxisAlignedBB e(World world, int i, int j, int k) {
|
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);
|
return super.e(world, i, j, k);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ public class BlockTrapdoor extends Block {
|
||||||
}
|
}
|
||||||
|
|
||||||
public AxisAlignedBB e(World world, int i, int j, int k) {
|
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);
|
return super.e(world, i, j, k);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue