From f3055074df86d9f27805d7c1a24485b2a4e31bbd Mon Sep 17 00:00:00 2001 From: Sauilitired Date: Sat, 25 Oct 2014 16:34:25 +0200 Subject: [PATCH] Well... bleh --- .idea/workspace.xml | 22 +++++++++++-------- .../com/intellectualcrafters/plot/Flag.java | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a80eaefb7..4d6b89d5b 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -97,8 +97,8 @@ - - + + @@ -538,7 +538,7 @@ - + 1411382351159 @@ -792,11 +792,15 @@ 1414246513646 1414246513646 - - - + + diff --git a/PlotSquared/src/com/intellectualcrafters/plot/Flag.java b/PlotSquared/src/com/intellectualcrafters/plot/Flag.java index 87c10ca79..7ad06128a 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/Flag.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/Flag.java @@ -25,7 +25,7 @@ public class Flag { }; String tempValue = value; for(char c : allowedCharacters) - tempValue = value.replace(c, 'c'); + tempValue = tempValue.replace(c, 'c'); if (!StringUtils.isAlphanumericSpace(tempValue)) { throw new IllegalArgumentException("Flag must be alphanumerical (colours and some special characters are allowed)"); }