mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-14 12:58:03 +00:00
Allow for larger flag values.
This commit is contained in:
parent
da5db1678d
commit
9a9e00670c
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue