Level Cap bugfixes and tweaks

This commit is contained in:
nossr50
2019-06-22 14:48:16 -07:00
parent e17afe31a5
commit b479d45f14
7 changed files with 60 additions and 17 deletions

View File

@@ -126,7 +126,7 @@ public class SkillresetCommand implements TabExecutor {
return;
}
EventUtils.handleLevelChangeEvent(player, skill, levelsRemoved, xpRemoved, false, XPGainReason.COMMAND);
EventUtils.tryLevelChangeEvent(player, skill, levelsRemoved, xpRemoved, false, XPGainReason.COMMAND);
}
protected boolean permissionsCheckSelf(CommandSender sender) {