mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-12-01 06:53:26 +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("secureObjects", secureObjects);
|
||||||
configFile.set("invitedPlayers", invitedPlayers);
|
configFile.set("invitedPlayers", invitedPlayers);
|
||||||
|
if (worldEnvironment != null) {
|
||||||
configFile.set("worldEnvironment", worldEnvironment.name());
|
configFile.set("worldEnvironment", worldEnvironment.name());
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
configFile.save(file);
|
configFile.save(file);
|
||||||
|
Loading…
Reference in New Issue
Block a user