mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-12 16:27:29 +00:00
Change jetpack check method for parity
Change the way the mod checks if a jetpack is equipped after isJetpackOn is called in the ClientTickHander to be equivalent to the check in isJetpackOn to maintain logical parity. Closes #220
This commit is contained in:
1 parent
9d57030236
commit
5fdfbec2d7
1 file changed
+1
-1
@@ -309,7 +309,7 @@ public class ClientTickHandler
|
||||
return Mekanism.jetpackOn.contains(player.getCommandSenderName());
|
||||
}
|
||||
|
||||
ItemStack stack = player.inventory.armorInventory[2];
|
||||
ItemStack stack = player.getEquipmentInSlot(3);
|
||||
|
||||
if(stack != null && !player.capabilities.isCreativeMode)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user