MassiveCore - Version Synchronized Warnings

This commit is contained in:
Olof Larsson 2015-10-21 20:28:36 +02:00
parent 753310561a
commit d72d8f4043
2 changed files with 4 additions and 1 deletions

View File

@ -112,6 +112,9 @@ public class Factions extends MassivePlugin
{ {
if ( ! preEnable()) return; if ( ! preEnable()) return;
// Version Synchronized
this.setVersionSynchronized(true);
// Initialize Aspects // Initialize Aspects
this.aspect = AspectColl.get().get(Const.ASPECT, true); this.aspect = AspectColl.get().get(Const.ASPECT, true);
this.aspect.register(); this.aspect.register();

View File

@ -1015,7 +1015,7 @@ public class Faction extends Entity<Faction> implements EconomyParticipator
{ {
String msg = Txt.parse("<rose>WARN: <i>Faction <h>%s <i>aka <h>%s <i>had unattached mplayer in index:", this.getName(), this.getId()); String msg = Txt.parse("<rose>WARN: <i>Faction <h>%s <i>aka <h>%s <i>had unattached mplayer in index:", this.getName(), this.getId());
Factions.get().log(msg); Factions.get().log(msg);
Factions.get().log(Factions.get().gson.toJson(mplayer)); Factions.get().log(Factions.get().getGson().toJson(mplayer));
iter.remove(); iter.remove();
} }
} }