Use BukkitRunnable.

This commit is contained in:
GJ
2013-03-20 03:11:16 -04:00
parent c3a69c8c55
commit 399bf8e3b9
25 changed files with 159 additions and 102 deletions

View File

@ -486,7 +486,7 @@ public final class CombatUtils {
}
if (baseXP != 0) {
mcMMO.p.getServer().getScheduler().runTaskLater(mcMMO.p, new AwardCombatXpTask(mcMMOPlayer, skillType, baseXP, target), 0);
new AwardCombatXpTask(mcMMOPlayer, skillType, baseXP, target).runTaskLater(mcMMO.p, 0);
}
}