Fixed bug which prevented gaining Acrobatics XP

This commit is contained in:
TfT_02
2013-11-10 00:52:30 +01:00
parent 69ef7f40d8
commit 5a68c7a335
2 changed files with 2 additions and 1 deletions

View File

@ -232,7 +232,7 @@ public class EntityListener implements Listener {
switch (cause) {
case FALL:
if (!Config.getInstance().getPreventXPAfterTeleport() || SkillUtils.calculateTimeLeft((long) mcMMOPlayer.getTeleportATS() * Misc.TIME_CONVERSION_FACTOR, 5, player) > 0) {
if (Config.getInstance().getPreventXPAfterTeleport() && SkillUtils.calculateTimeLeft((long) mcMMOPlayer.getTeleportATS() * Misc.TIME_CONVERSION_FACTOR, 5, player) > 0) {
return;
}