Updated the reset step height for the sashes to the new step height in 1.8+. Fixes them breaking stairs made with chisels and bits. Closes #1947

This commit is contained in:
Vasco Lavos committed 2016-10-19 20:36:20 +01:00
1 parent 0085bc2415
commit 4f708e965f
1 file changed
+2 -2
@@ -90,11 +90,11 @@ public class ItemTravelBelt extends ItemBauble implements IBaubleRender, IManaUs
}
if(player.isSneaking())
player.stepHeight = 0.50001F; // Not 0.5F because that is the default
player.stepHeight = 0.60001F; // Not 0.6F because that is the default
else player.stepHeight = 1F;
} else {
player.stepHeight = 0.5F;
player.stepHeight = 0.6F;
playersWithStepup.remove(s);
}
} else if(shouldPlayerHaveStepup(player)) {