MCorify the MPlugin class Factions slightly.
This commit is contained in:
@ -19,6 +19,6 @@ public class AutoLeaveTask implements Runnable
|
||||
|
||||
// maybe setting has been changed? if so, restart task at new rate
|
||||
if (this.rate != Conf.autoLeaveRoutineRunsEveryXMinutes)
|
||||
Factions.p.startAutoLeaveTask(true);
|
||||
Factions.get().startAutoLeaveTask(true);
|
||||
}
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ public class EconLandRewardTask implements Runnable {
|
||||
FactionColl.i.econLandRewardRoutine();
|
||||
// maybe setting has been changed? if so, restart task at new rate
|
||||
if (this.rate != Conf.econLandRewardTaskRunsEveryXMinutes)
|
||||
Factions.p.startEconLandRewardTask(true);
|
||||
Factions.get().startEconLandRewardTask(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ public abstract class SpiralTask implements Runnable
|
||||
this.world = Bukkit.getWorld(fLocation.getWorldName());
|
||||
if (this.world == null)
|
||||
{
|
||||
Factions.p.log(Level.WARNING, "[SpiralTask] A valid world must be specified!");
|
||||
Factions.get().log(Level.WARNING, "[SpiralTask] A valid world must be specified!");
|
||||
this.stop();
|
||||
return;
|
||||
}
|
||||
@ -59,7 +59,7 @@ public abstract class SpiralTask implements Runnable
|
||||
this.readyToGo = true;
|
||||
|
||||
// get this party started
|
||||
this.setTaskID(Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(Factions.p, this, 2, 2));
|
||||
this.setTaskID(Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(Factions.get(), this, 2, 2));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user