mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-16 18:31:53 +01:00
Fix per-world settings not reloading (#4756)
This commit is contained in:
parent
add661a180
commit
2271d88dc1
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
+ }
|
||||
|
|
Loading…
Add table
Reference in a new issue