mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix incorrect step assist height (#2446)
* Fix incorrect step assist height * Boi, I messed up, oh no, now it's correct
This commit is contained in:
1 parent
56cf0aa73b
commit
eb84402b13
1 file changed
+2
-2
@@ -91,7 +91,7 @@ public class ItemTravelBelt extends ItemBauble implements IBaubleRender, IManaUs
|
||||
|
||||
if(player.isSneaking())
|
||||
player.stepHeight = 0.60001F; // Not 0.6F because that is the default
|
||||
else player.stepHeight = 1F;
|
||||
else player.stepHeight = 1.25F;
|
||||
|
||||
} else {
|
||||
player.stepHeight = 0.6F;
|
||||
@@ -99,7 +99,7 @@ public class ItemTravelBelt extends ItemBauble implements IBaubleRender, IManaUs
|
||||
}
|
||||
} else if(shouldPlayerHaveStepup(player)) {
|
||||
playersWithStepup.add(s);
|
||||
player.stepHeight = 1F;
|
||||
player.stepHeight = 1.25F;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user