Removing player index to reduce complexity since I doubt its required. Decouble and nullify faction descriptions.

This commit is contained in:
Olof Larsson
2013-04-17 08:49:43 +02:00
parent 6ef15bc2db
commit 1ccefc93b5
13 changed files with 187 additions and 173 deletions

View File

@ -113,8 +113,10 @@ public class SpoutMainListener implements Listener
String msg = tag;
if (ConfServer.spoutTerritoryDisplayShowDescription && !factionHere.getDescription().isEmpty())
if (ConfServer.spoutTerritoryDisplayShowDescription && factionHere.hasDescription())
{
msg += " - " + factionHere.getDescription();
}
label.setText(msg);
alignLabel(label, msg);
@ -141,8 +143,10 @@ public class SpoutMainListener implements Listener
String msg = tag;
if (ConfServer.spoutTerritoryNoticeShowDescription && !factionHere.getDescription().isEmpty())
if (ConfServer.spoutTerritoryNoticeShowDescription && factionHere.hasDescription())
{
msg += " - " + factionHere.getDescription();
}
label.setText(msg);
alignLabel(label, msg, 2);