GenuineSounds

Fixed

Jun 11th, 2012
187
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Override
  2. public boolean onTickInGame(float f, Minecraft minecraft) {
  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.     minecraft.thePlayer.isImmuneToFire =
  8.         boots != null && legs != null && chest != null && helm != null &&
  9.         boots.getItem() == Item.bootsDiamond &&
  10.         legs.getItem() == Item.legsDiamond &&
  11.         chest.getItem() == Item.plateDiamond &&
  12.         helm.getItem() == Item.helmetDiamond;
  13.     return true;
  14. }
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment