mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-09-16 01:57:14 +02:00
Fix /dxl invite NPE; resolves #186
This commit is contained in:
parent
3801466746
commit
bacbbe471f
@ -302,9 +302,11 @@ public class WorldConfig extends GameRules {
|
||||
FileConfiguration configFile = YamlConfiguration.loadConfiguration(file);
|
||||
|
||||
// Messages
|
||||
if (msgs != null) {
|
||||
for (int msgs : this.msgs.keySet()) {
|
||||
configFile.set("message." + msgs, this.msgs.get(msgs));
|
||||
}
|
||||
}
|
||||
|
||||
List<String> secureObjectIds = new ArrayList<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user