mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Moved steping to server side, and fixed high step effect after removing the boots
This commit is contained in:
1 parent
b4c649c2e6
commit
498e0d8be7
2 files changed
+34
-3
No files matched your search
@@ -43,8 +43,8 @@ public class ArmorAbilitiesClient
|
||||
player.fallDistance = 0.0f;
|
||||
}
|
||||
|
||||
//Feet changes
|
||||
ItemStack feet = player.getCurrentArmor(0);
|
||||
//Feet changes - moved to server side
|
||||
/*ItemStack feet = player.getCurrentArmor(0);
|
||||
if (feet != null)
|
||||
{
|
||||
if (feet.getItem() instanceof TravelGear && player.stepHeight < 1.0f)
|
||||
@@ -70,7 +70,7 @@ public class ArmorAbilitiesClient
|
||||
if (feet != null && feet.getItem() instanceof TravelGear)
|
||||
player.stepHeight += 0.6f;
|
||||
prevFeet = feet;
|
||||
}
|
||||
}*/
|
||||
|
||||
//Legs or wing changes
|
||||
/*ItemStack legs = player.getCurrentArmor(1);
|
||||
|
||||
Reference in new issue
Block a user