mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
More ItemStack fixes, thanks @thommy101
This commit is contained in:
1 parent
ac8de88413
commit
9db5a37d4b
24 files changed
+49
-50
No files matched your search
@@ -40,7 +40,7 @@ public class CommonPlayerTickHandler
|
||||
{
|
||||
ItemStack feetStack = player.getItemStackFromSlot(EntityEquipmentSlot.FEET);
|
||||
|
||||
if(feetStack != null && feetStack.getItem() instanceof ItemFreeRunners)
|
||||
if(!feetStack.isEmpty() && feetStack.getItem() instanceof ItemFreeRunners)
|
||||
{
|
||||
player.stepHeight = 1.002F;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user