Skip to content

Commit

Permalink
Add new switches from 23w41a and 23w42a (#7042)
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr authored Oct 23, 2023
1 parent d123b52 commit 146db0e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ public enum ConfigNodes {
"# A full list of proper names can be found here https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html "),
PROT_SWITCH_MAT(
"protection.switch_ids",
"CHEST,SHULKER_BOXES,TRAPPED_CHEST,FURNACE,BLAST_FURNACE,DISPENSER,HOPPER,DROPPER,JUKEBOX,SMOKER,COMPOSTER,BELL,BARREL,BREWING_STAND,LEVER,NON_WOODEN_PRESSURE_PLATES,BUTTONS,WOOD_DOORS,FENCE_GATES,TRAPDOORS,MINECARTS,LODESTONE,RESPAWN_ANCHOR,TARGET,OAK_CHEST_BOAT",
"CHEST,SHULKER_BOXES,TRAPPED_CHEST,FURNACE,BLAST_FURNACE,DISPENSER,HOPPER,DROPPER,JUKEBOX,SMOKER,COMPOSTER,BELL,BARREL,BREWING_STAND,LEVER,NON_WOODEN_PRESSURE_PLATES,BUTTONS,WOOD_DOORS,FENCE_GATES,TRAPDOORS,MINECARTS,LODESTONE,RESPAWN_ANCHOR,TARGET,OAK_CHEST_BOAT,DECORATED_POT,CRAFTER",
"",
"# Blocks that are protected via town/plot flags.",
"# These are blocks in the world that will be protected by a town/resident/plot's switch setting.",
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 @@ -506,5 +506,15 @@
"key": "add_milkable_animals_to_farm_plot"
}
]
},
{
"version": "0.99.6.4",
"changes": [
{
"type": "APPEND",
"path": "protection.switch_ids",
"value": ",DECORATED_POT,CRAFTER"
}
]
}
]

0 comments on commit 146db0e

Please sign in to comment.