Safe zones and faction homes :D :D

This commit is contained in:
Olof Larsson
2011-03-23 17:39:56 +01:00
parent 9d4aaeae6c
commit b0f09db054
39 changed files with 562 additions and 334 deletions

View File

@@ -126,8 +126,10 @@ public class Board {
} else {
FLocation flocationHere = topLeft.getRelative(dx, dz);
Faction factionHere = getFactionAt(flocationHere);
if (factionHere.getId() == 0) {
if (factionHere.isNone()) {
row += ChatColor.GRAY+"-";
} else if (factionHere.isSafeZone()) {
row += ChatColor.GOLD+"+";
} else {
row += factionHere.getRelation(faction).getColor()+"+";
}