Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TRIAL_SPAWNER to default list of reasons Towny won't remove mobs. #7714

Merged
merged 1 commit into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Towny/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<artifactId>towny</artifactId>
<packaging>jar</packaging>
<version>0.101.0.4</version>
<version>0.101.0.5</version>

<licenses>
<license>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
10 changes: 10 additions & 0 deletions Towny/src/main/resources/config-migration.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
]
Loading