View difference between Paste ID: i2uNzhRD and 1SVDpeR8
SHOW: | | - or go back to the newest paste.
1
public boolean onTickInGame(Minecraft minecraft) 
2
        {
3
            ItemStack boots = minecraft.thePlayer.inventory.armorInventory[0];
4
            ItemStack legs = minecraft.thePlayer.inventory.armorInventory[1];
5
            ItemStack chest = minecraft.thePlayer.inventory.armorInventory[2];
6
            ItemStack helm = minecraft.thePlayer.inventory.armorInventory[3];
7-
7+
            minecraft.thePlayer.isImmuneToFire = boots.itemID == mod_Dummy.bootsTitanium.shiftedIndex && legs.itemID == mod_Dummy.legsTitanium.shiftedIndex && chest.itemID == mod_Dummy.plateTitanium.shiftedIndex && helm.itemID == mod_Dummy.helmetTitanium.shiftedIndex;
8-
            if(boots == null || legs == null || chest == null || helm == null)
8+
            return true;
9-
            {           	
9+