mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
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:
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)) {
|
||||
|
||||
Reference in new issue
Block a user