Removed outdated inventory methods

This commit is contained in:
GJ
2012-02-24 01:02:23 -05:00
parent bdb74d4719
commit 1f0fcb119d
5 changed files with 31 additions and 110 deletions

View File

@@ -56,22 +56,6 @@ public class Skills
return false;
}
}
public boolean hasArrows(Player player){
for(ItemStack x : player.getInventory().getContents()){
if (x.getTypeId() == 262){
return true;
}
}
return false;
}
public void addArrows(Player player){
for(ItemStack x : player.getInventory().getContents()){
if (x.getTypeId() == 262){
x.setAmount(x.getAmount() + 1);
return;
}
}
}
public static int calculateTimeLeft(Player player, long deactivatedTimeStamp, int cooldown)
{