Fix Block PistonMoveReaction
This commit is contained in:
parent
1dced6a2c5
commit
67b763c5a7
@ -442,7 +442,7 @@ public class CraftBlock implements Block {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public PistonMoveReaction getPistonMoveReaction() {
|
public PistonMoveReaction getPistonMoveReaction() {
|
||||||
return PistonMoveReaction.getById(getNMSBlock().getBlockData().getMaterial().getPushReaction().ordinal());
|
return PistonMoveReaction.getById(getNMSBlock().h(getNMSBlock().fromLegacyData(getData())).ordinal());
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean itemCausesDrops(ItemStack item) {
|
private boolean itemCausesDrops(ItemStack item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user