Change to the newer, shorter scheduler methods.

This commit is contained in:
GJ
2013-03-20 02:15:15 -04:00
parent db2bf9ee51
commit c3a69c8c55
12 changed files with 19 additions and 19 deletions

View File

@@ -97,7 +97,7 @@ public final class HolidayManager {
final int firework_amount = 10;
for (int i = 0; i < firework_amount; i++) {
int delay = (int) (Math.random() * 3) + 4;
mcMMO.p.getServer().getScheduler().scheduleSyncDelayedTask(mcMMO.p, new Runnable() {
mcMMO.p.getServer().getScheduler().runTaskLater(mcMMO.p, new Runnable() {
@Override
public void run() {
spawnFireworks((Player) sender);