Rename FPlayers --> FPlayerColl

This commit is contained in:
Olof Larsson
2013-04-09 13:22:23 +02:00
parent e3d6a4ec8e
commit a726e1c49f
28 changed files with 89 additions and 89 deletions

View File

@@ -374,7 +374,7 @@ public class Faction extends Entity implements EconomyParticipator
fplayers.clear();
if (this.isNone()) return;
for (FPlayer fplayer : FPlayers.i.get())
for (FPlayer fplayer : FPlayerColl.i.get())
{
if (fplayer.getFaction() == this)
{
@@ -454,7 +454,7 @@ public class Faction extends Entity implements EconomyParticipator
for (Player player: Factions.get().getServer().getOnlinePlayers())
{
FPlayer fplayer = FPlayers.i.get(player);
FPlayer fplayer = FPlayerColl.i.get(player);
if (fplayer.getFaction() == this)
{
ret.add(player);
@@ -490,7 +490,7 @@ public class Faction extends Entity implements EconomyParticipator
if (ConfServer.logFactionDisband)
Factions.get().log("The faction "+this.getTag()+" ("+this.getId()+") has been disbanded since it has no members left.");
for (FPlayer fplayer : FPlayers.i.getOnline())
for (FPlayer fplayer : FPlayerColl.i.getOnline())
{
fplayer.msg("The faction %s<i> was disbanded.", this.getTag(fplayer));
}
@@ -596,6 +596,6 @@ public class Faction extends Entity implements EconomyParticipator
Board.clean();
// Clean the fplayers
FPlayers.i.clean();
FPlayerColl.i.clean();
}
}