Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void onTickInGame(EntityPlayer player) {
- ItemStack boots = player.inventory.armorItemInSlot(4);
- if(boots != null && boots.itemID == shelter.common.Shelter.copperBoots.itemID) {
- player.capabilities.allowFlying = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment