mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Credits to @ToMe25
This commit is contained in:
2 files changed
+7
-10
No files matched your search
@@ -74,12 +74,10 @@ public class CommonPlayerTickHandler {
|
||||
public void tickEnd(EntityPlayer player) {
|
||||
ItemStack feetStack = player.getItemStackFromSlot(EntityEquipmentSlot.FEET);
|
||||
|
||||
if (!feetStack.isEmpty() && feetStack.getItem() instanceof ItemFreeRunners) {
|
||||
if (!feetStack.isEmpty() && feetStack.getItem() instanceof ItemFreeRunners && !player.isSneaking()) {
|
||||
player.stepHeight = 1.002F;
|
||||
} else {
|
||||
if (player.stepHeight == 1.002F) {
|
||||
player.stepHeight = 0.6F;
|
||||
}
|
||||
} else if (player.stepHeight == 1.002F) {
|
||||
player.stepHeight = 0.6F;
|
||||
}
|
||||
|
||||
if (isFlamethrowerOn(player)) {
|
||||
|
||||
Reference in new issue
Block a user