mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 19:54:43 +02:00
Well... bleh
This commit is contained in:
@ -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)");
|
||||
}
|
||||
|
Reference in New Issue
Block a user