mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-09-20 20:11:10 +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);
|
FileConfiguration configFile = YamlConfiguration.loadConfiguration(file);
|
||||||
|
|
||||||
// Messages
|
// Messages
|
||||||
|
if (msgs != null) {
|
||||||
for (int msgs : this.msgs.keySet()) {
|
for (int msgs : this.msgs.keySet()) {
|
||||||
configFile.set("message." + msgs, this.msgs.get(msgs));
|
configFile.set("message." + msgs, this.msgs.get(msgs));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
List<String> secureObjectIds = new ArrayList<>();
|
List<String> secureObjectIds = new ArrayList<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user