From 2e34079a8e806e0d9cbf37130b89a22a4c4bfe92 Mon Sep 17 00:00:00 2001 From: Brettflan Date: Sun, 23 Oct 2011 09:11:37 -0500 Subject: [PATCH] Fix for nonworking war zone and safe zone renaming --- src/com/massivecraft/factions/Factions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/factions/Factions.java b/src/com/massivecraft/factions/Factions.java index 5da9ba0d..5fdd705e 100644 --- a/src/com/massivecraft/factions/Factions.java +++ b/src/com/massivecraft/factions/Factions.java @@ -62,7 +62,7 @@ public class Factions extends EntityCollection { // if SafeZone has old pre-1.6.0 name, rename it to remove troublesome " " Faction faction = this.getSafeZone(); - if (faction.getTag().equals("Safe Zone")) + if (faction.getTag().equals(ChatColor.GOLD+"Safe Zone")) faction.setTag("SafeZone"); } @@ -77,7 +77,7 @@ public class Factions extends EntityCollection { // if WarZone has old pre-1.6.0 name, rename it to remove troublesome " " Faction faction = this.getWarZone(); - if (faction.getTag().equals("War Zone")) + if (faction.getTag().equals(ChatColor.DARK_RED+"War Zone")) faction.setTag("WarZone"); }