mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-25 03:55:22 +01:00
Fix world config saving error
This commit is contained in:
parent
154a6d2383
commit
c4dda41945
@ -324,7 +324,9 @@ public class WorldConfig extends GameRuleProvider {
|
||||
|
||||
configFile.set("secureObjects", secureObjects);
|
||||
configFile.set("invitedPlayers", invitedPlayers);
|
||||
configFile.set("worldEnvironment", worldEnvironment.name());
|
||||
if (worldEnvironment != null) {
|
||||
configFile.set("worldEnvironment", worldEnvironment.name());
|
||||
}
|
||||
|
||||
try {
|
||||
configFile.save(file);
|
||||
|
Loading…
Reference in New Issue
Block a user