From 41bfc0bd8fa1ba32157f158416656c5ea0bedfd6 Mon Sep 17 00:00:00 2001 From: Olof Larsson Date: Tue, 10 May 2016 13:03:23 +0200 Subject: [PATCH] MassiveCore - Editor Changes --- src/com/massivecraft/factions/cmd/type/TypeFaction.java | 1 + src/com/massivecraft/factions/cmd/type/TypeSortMPlayer.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/com/massivecraft/factions/cmd/type/TypeFaction.java b/src/com/massivecraft/factions/cmd/type/TypeFaction.java index 81628961..fb8448b3 100644 --- a/src/com/massivecraft/factions/cmd/type/TypeFaction.java +++ b/src/com/massivecraft/factions/cmd/type/TypeFaction.java @@ -25,6 +25,7 @@ public class TypeFaction extends TypeAbstract private static TypeFaction i = new TypeFaction(); public static TypeFaction get() { return i; } + public TypeFaction() { super(Faction.class); } // -------------------------------------------- // // OVERRIDE diff --git a/src/com/massivecraft/factions/cmd/type/TypeSortMPlayer.java b/src/com/massivecraft/factions/cmd/type/TypeSortMPlayer.java index dfe2742f..f5c736dd 100644 --- a/src/com/massivecraft/factions/cmd/type/TypeSortMPlayer.java +++ b/src/com/massivecraft/factions/cmd/type/TypeSortMPlayer.java @@ -18,6 +18,7 @@ public class TypeSortMPlayer extends TypeAbstractChoice> public static TypeSortMPlayer get() { return i; } public TypeSortMPlayer() { + super(Comparator.class); this.setAll( PlayerRoleComparator.get(), PlayerPowerComparator.get(),