Fixed diminished returns not getting disabled

This commit is contained in:
TfT_02 2014-10-10 00:03:51 +02:00
parent 38cc7435dc
commit b5a2e76926

View File

@ -47,7 +47,7 @@ public class SelfListener implements Listener {
SkillType skillType = event.getSkill();
int threshold = ExperienceConfig.getInstance().getDiminishedReturnsThreshold(skillType);
if (threshold <= 0) {
if (threshold <= 0 || !ExperienceConfig.getInstance().getDiminishedReturnsEnabled()) {
// Diminished returns is turned off
return;
}