Rename P --> Factions.
This commit is contained in:
@ -2,7 +2,7 @@ package com.massivecraft.factions.util;
|
||||
|
||||
import com.massivecraft.factions.Conf;
|
||||
import com.massivecraft.factions.FPlayers;
|
||||
import com.massivecraft.factions.P;
|
||||
import com.massivecraft.factions.Factions;
|
||||
|
||||
public class AutoLeaveTask implements Runnable
|
||||
{
|
||||
@ -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)
|
||||
P.p.startAutoLeaveTask(true);
|
||||
Factions.p.startAutoLeaveTask(true);
|
||||
}
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ package com.massivecraft.factions.util;
|
||||
|
||||
import com.massivecraft.factions.Conf;
|
||||
import com.massivecraft.factions.FactionColl;
|
||||
import com.massivecraft.factions.P;
|
||||
import com.massivecraft.factions.Factions;
|
||||
|
||||
public class EconLandRewardTask implements Runnable {
|
||||
|
||||
@ -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)
|
||||
P.p.startEconLandRewardTask(true);
|
||||
Factions.p.startEconLandRewardTask(true);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import org.bukkit.Location;
|
||||
import org.bukkit.World;
|
||||
|
||||
import com.massivecraft.factions.FLocation;
|
||||
import com.massivecraft.factions.P;
|
||||
import com.massivecraft.factions.Factions;
|
||||
|
||||
|
||||
/*
|
||||
@ -48,7 +48,7 @@ public abstract class SpiralTask implements Runnable
|
||||
this.world = Bukkit.getWorld(fLocation.getWorldName());
|
||||
if (this.world == null)
|
||||
{
|
||||
P.p.log(Level.WARNING, "[SpiralTask] A valid world must be specified!");
|
||||
Factions.p.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(P.p, this, 2, 2));
|
||||
this.setTaskID(Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(Factions.p, this, 2, 2));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user