mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fixed not being able to move properly around doors or trapdoors
This commit is contained in:
parent
900c541246
commit
bd93cd7182
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user