Fix treasure maps discovered settings (#7627)

This commit is contained in:
Jake Potrebic
2022-06-05 17:17:27 -07:00
parent 382529a546
commit 9b2964fe63
6 changed files with 43 additions and 15 deletions

View File

@@ -20,7 +20,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ set("spawn-limits.water-ambient", null);
}
if (needsSave) {
if (this.config.isSet("world-settings.default.treasure-maps-return-already-discovered") || this.config.isSet("world-settings." + worldName + ".treasure-maps-return-already-discovered")) {
@@ -0,0 +0,0 @@ public class PaperWorldConfig {
zombieVillagerInfectionChance = getDouble("zombie-villager-infection-chance", zombieVillagerInfectionChance);
}