mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-28 20:17:55 +01:00
Fix NPE when loading locale file - closes #338
This commit is contained in:
parent
2ffbeeef8e
commit
1b199fd2c7
@ -80,7 +80,7 @@ public class SimpleLocaleManager implements LocaleManager {
|
||||
String description = (String) attributes.get("description");
|
||||
String usage = (String) attributes.get("usage");
|
||||
Map<String, String> args = (Map<String, String>) attributes.get("args");
|
||||
if (args.isEmpty()) {
|
||||
if (args != null && args.isEmpty()) {
|
||||
args = null;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user