mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Allow for larger flag values.
This commit is contained in:
parent
da5db1678d
commit
9a9e00670c
@ -44,8 +44,8 @@ public class Flag {
|
||||
if (!StringUtils.isAlphanumericSpace(tempValue)) {
|
||||
throw new IllegalArgumentException("Flag must be alphanumerical (colours and some special characters are allowed)");
|
||||
}
|
||||
if (value.length() > 48) {
|
||||
throw new IllegalArgumentException("Value must be <= 48 characters");
|
||||
if (value.length() > 128) {
|
||||
throw new IllegalArgumentException("Value must be <= 128 characters");
|
||||
}
|
||||
this.key = key;
|
||||
this.value = key.parseValueRaw(value);
|
||||
|
Loading…
Reference in New Issue
Block a user