mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-23 02:55:47 +01:00
Tahg's fix for BlockDoor needs to downcast
This commit is contained in:
parent
e8a565e6cf
commit
3d8263f9f8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user