mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Fix default flags NPE
This commit is contained in:
parent
f651607d2f
commit
3558105789
@ -346,7 +346,7 @@ public class FlagManager {
|
||||
} else {
|
||||
split = key.split(":");
|
||||
}
|
||||
Flag<?> flag = getFlag(split[0]);
|
||||
Flag<?> flag = getOrCreateFlag(split[0]);
|
||||
Object value = flag.parseValue(split[1]);
|
||||
map.put(flag, value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user