MassiveCore - Editor Changes

This commit is contained in:
Olof Larsson 2016-05-10 13:03:23 +02:00
parent 54bd67dbb4
commit 41bfc0bd8f
No known key found for this signature in database
GPG Key ID: BBEF14F97DA52474
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ public class TypeFaction extends TypeAbstract<Faction>
private static TypeFaction i = new TypeFaction(); private static TypeFaction i = new TypeFaction();
public static TypeFaction get() { return i; } public static TypeFaction get() { return i; }
public TypeFaction() { super(Faction.class); }
// -------------------------------------------- // // -------------------------------------------- //
// OVERRIDE // OVERRIDE

View File

@ -18,6 +18,7 @@ public class TypeSortMPlayer extends TypeAbstractChoice<Comparator<MPlayer>>
public static TypeSortMPlayer get() { return i; } public static TypeSortMPlayer get() { return i; }
public TypeSortMPlayer() public TypeSortMPlayer()
{ {
super(Comparator.class);
this.setAll( this.setAll(
PlayerRoleComparator.get(), PlayerRoleComparator.get(),
PlayerPowerComparator.get(), PlayerPowerComparator.get(),