Some refactoring and better messages

This commit is contained in:
Olof Larsson committed 2011-10-24 11:07:06 +02:00
1 parent bb5a676430
commit 0c46809952
13 files changed
+111 -131

No files matched your search

@@ -81,7 +81,7 @@ public class PluginCapiListener extends CapiListener
for (Player somePlayer : Bukkit.getServer().getOnlinePlayers())
{
FPlayer someFPlayer = FPlayers.i.get(somePlayer);
if (someFPlayer.getRelationTo(fme).value >= Rel.ALLY.value)
if (someFPlayer.getRelationTo(fme).isAtLeast(Rel.ALLY))
{
event.getThem().add(somePlayer);
}