Rename and relocate Comparators and Predicates

This commit is contained in:
Olof Larsson
2017-03-24 14:25:29 +01:00
parent 2dfce5ea3a
commit 83b12fddc8
11 changed files with 46 additions and 44 deletions

View File

@@ -1,7 +1,7 @@
package com.massivecraft.factions.engine;
import com.massivecraft.factions.Const;
import com.massivecraft.factions.PlayerRoleComparator;
import com.massivecraft.factions.comparator.ComparatorMPlayerRole;
import com.massivecraft.factions.entity.Faction;
import com.massivecraft.factions.entity.MConf;
import com.massivecraft.factions.entity.MFlag;
@@ -143,7 +143,7 @@ public class EngineShow extends Engine
List<String> followerNamesOffline = new ArrayList<>();
List<MPlayer> followers = faction.getMPlayers();
Collections.sort(followers, PlayerRoleComparator.get());
Collections.sort(followers, ComparatorMPlayerRole.get());
for (MPlayer follower : followers)
{
if (follower.isOnline(sender))