mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-18 08:35:52 +01:00
Fix /dxl invite NPE; resolves #186
This commit is contained in:
parent
3801466746
commit
bacbbe471f
@ -302,8 +302,10 @@ public class WorldConfig extends GameRules {
|
||||
FileConfiguration configFile = YamlConfiguration.loadConfiguration(file);
|
||||
|
||||
// Messages
|
||||
for (int msgs : this.msgs.keySet()) {
|
||||
configFile.set("message." + msgs, this.msgs.get(msgs));
|
||||
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