mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	Allow for larger flag values.
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user