mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-04-04 18:46:24 +02: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…
x
Reference in New Issue
Block a user