mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Fix Block PistonMoveReaction
By: md_5 <git@md-5.net>
This commit is contained in:
parent
a9afd0a670
commit
7e3f873771
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue