Updated permissions for more control over Call of the Wild.

This commit is contained in:
GJ
2013-08-30 13:50:34 -04:00
parent 2c8b9334b6
commit 7523afffb5
5 changed files with 40 additions and 7 deletions

View File

@ -130,6 +130,10 @@ public class TamingManager extends SkillManager {
* Summon an ocelot to your side.
*/
public void summonOcelot() {
if (!Permissions.callOfTheWild(getPlayer(), EntityType.OCELOT)) {
return;
}
callOfTheWild(EntityType.OCELOT, Config.getInstance().getTamingCOTWOcelotCost());
}
@ -137,6 +141,10 @@ public class TamingManager extends SkillManager {
* Summon a wolf to your side.
*/
public void summonWolf() {
if (!Permissions.callOfTheWild(getPlayer(), EntityType.WOLF)) {
return;
}
callOfTheWild(EntityType.WOLF, Config.getInstance().getTamingCOTWWolfCost());
}