Extra related fixes.

This commit is contained in:
Olof Larsson 2014-09-18 14:45:32 +02:00
parent 9503baff6e
commit 72da80bfa0
2 changed files with 5 additions and 1 deletions

View File

@ -50,6 +50,11 @@ public class MPlayerColl extends SenderColl<MPlayer>
for (MPlayer mplayer : this.getAll())
{
// This may or may not be required.
// Some users have been reporting a loop issue with the same player detaching over and over again.
// Maybe skipping ahead if the player is detached will solve the issue.
if (mplayer.detached()) continue;
Long lastPlayed = Mixin.getLastPlayed(mplayer.getId());
if (lastPlayed == null) continue;

View File

@ -31,7 +31,6 @@ public class OldConf extends Entity<OldConf>
mconf.defaultFactionOpen = this.defaultFactionOpen;
mconf.defaultFactionFlags = this.defaultFactionFlags;
mconf.defaultFactionPerms = this.defaultFactionPerms;
mconf.broadcastNameChange = this.broadcastNameChange;
mconf.powerMax = this.powerMax;
mconf.powerMin = this.powerMin;
mconf.powerPerHour = this.powerPerHour;