Straightening up our InventoryListener, SwordsManager, TamingManager,

and UnarmedManager.
This commit is contained in:
GJ
2013-03-03 01:31:14 -05:00
parent cbe9cae4ea
commit 7c28be5e62
5 changed files with 68 additions and 40 deletions

View File

@ -42,6 +42,10 @@ public class TamingManager extends SkillManager {
return getSkillLevel() > Taming.holyHoundUnlockLevel && Permissions.holyHound(getPlayer());
}
public boolean canUseBeastLore(LivingEntity target) {
return target instanceof Tameable && Permissions.beastLore(getPlayer());
}
/**
* Award XP for taming.
*