diff --git a/Towny/pom.xml b/Towny/pom.xml index 36cd14dd2d..c933bf153f 100644 --- a/Towny/pom.xml +++ b/Towny/pom.xml @@ -13,7 +13,7 @@ towny jar - 0.101.0.4 + 0.101.0.5 diff --git a/Towny/src/main/java/com/palmergames/bukkit/config/ConfigNodes.java b/Towny/src/main/java/com/palmergames/bukkit/config/ConfigNodes.java index 5f5abf2415..6e9e8416e0 100644 --- a/Towny/src/main/java/com/palmergames/bukkit/config/ConfigNodes.java +++ b/Towny/src/main/java/com/palmergames/bukkit/config/ConfigNodes.java @@ -1900,10 +1900,10 @@ public enum ConfigNodes { "# Prevent the spawning of villager babies in towns."), PROT_MOB_REMOVE_IGNORED_SPAWN_CAUSES( "protection.town_mob_removal_ignored_spawn_causes", - "", + "TRIAL_SPAWNER", "", "# A comma seperated list of spawn causes, if an entity has a spawn cause that is in this list they will not be removed by town mob removal.", - "# For the list of valid spawn causes, see https://jd.papermc.io/paper/1.20/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html", + "# For the list of valid spawn causes, see https://jd.papermc.io/paper/1.21.4/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html", "# Due to technical reasons, this setting only works on Paper servers."), PROT_MOB_DISABLE_TRIGGER_PRESSURE_PLATE_STONE( diff --git a/Towny/src/main/resources/config-migration.json b/Towny/src/main/resources/config-migration.json index 86b2c8e580..1cb829be9d 100644 --- a/Towny/src/main/resources/config-migration.json +++ b/Towny/src/main/resources/config-migration.json @@ -884,5 +884,15 @@ "key": "disable_modern_eco" } ] + }, + { + "version": "0.101.0.5", + "changes": [ + { + "type": "APPEND", + "path": "protection.town_mob_removal_ignored_spawn_causes", + "value": ",TRIAL_SPAWNER" + } + ] } ] \ No newline at end of file