Fix per-world settings not reloading (#4756)
This commit is contained in:
@@ -479,7 +479,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+
|
||||
+ private final String worldName;
|
||||
+ private final SpigotWorldConfig spigotConfig;
|
||||
+ private final YamlConfiguration config;
|
||||
+ private YamlConfiguration config;
|
||||
+ private boolean verbose;
|
||||
+
|
||||
+ public PaperWorldConfig(String worldName, SpigotWorldConfig spigotConfig) {
|
||||
@@ -490,6 +490,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ }
|
||||
+
|
||||
+ public void init() {
|
||||
+ this.config = PaperConfig.config; // grab updated reference
|
||||
+ log("-------- World Settings For [" + worldName + "] --------");
|
||||
+ PaperConfig.readConfig(PaperWorldConfig.class, this);
|
||||
+ }
|
||||
|
||||
Reference in New Issue
Block a user