O3Bubbles09

Untitled

Feb 12th, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1.     private void onTickInGame(EntityPlayer player) {
  2.         ItemStack boots = player.inventory.armorItemInSlot(4);
  3.        
  4.         if(boots != null && boots.itemID == shelter.common.Shelter.copperBoots.itemID) {
  5.             player.capabilities.allowFlying = true;
  6.         }
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment