Taming Cleanup + Compiler Error fix

This commit is contained in:
nossr50
2019-04-03 21:07:12 -07:00
parent 0ca0140348
commit 5b2720a04f
11 changed files with 96 additions and 62 deletions

View File

@@ -33,7 +33,7 @@ public class AcrobaticsManager extends SkillManager {
public boolean canGainRollXP()
{
if(!ExperienceConfig.getInstance().isAcrobaticsExploitingPrevented())
if(!mcMMO.getConfigManager().getConfigExploitPrevention().getConfigSectionExploitAcrobatics().isPreventAcrobaticsAbuse())
return true;
if(System.currentTimeMillis() >= rollXPCooldown)