Skip to content

Commit

Permalink
Quick fix for 'zones enabled' not killing Z4 and Z5 ravagers (0.14.16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bavadin authored Jan 20, 2025
1 parent b7922ac commit 59e6427
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function do2:entity_controller/generate_entities/areas/l1z3
execute if score $dungeon do2.config.ec.level1Zones matches 0 run function do2:entity_controller/generate_entities/areas/l1z4
execute if score $dungeon do2.config.ec.level1Zones matches 0 run function do2:entity_controller/generate_entities/areas/l1z5

execute if score $dungeon do2.config.ec.level1Zones matches 1 run kill @e[type=ravager,tag=L1Z4]
execute if score $dungeon do2.config.ec.level1Zones matches 1 run kill @e[type=ravager,tag=L1Z5]

# L2
function do2:entity_controller/generate_entities/areas/l2z1
Expand All @@ -43,6 +45,9 @@ function do2:entity_controller/generate_entities/areas/l2z3
execute if score $dungeon do2.config.ec.level2Zones matches 0 run function do2:entity_controller/generate_entities/areas/l2z4
execute if score $dungeon do2.config.ec.level2Zones matches 0 run function do2:entity_controller/generate_entities/areas/l2z5

execute if score $dungeon do2.config.ec.level2Zones matches 1 run kill @e[type=ravager,tag=L2Z4]
execute if score $dungeon do2.config.ec.level2Zones matches 1 run kill @e[type=ravager,tag=L2Z5]

# L2_other
function do2:entity_controller/generate_entities/areas/l2willie
function do2:entity_controller/generate_entities/areas/l2ghost
Expand Down
4 changes: 2 additions & 2 deletions Brilliance Datapack/data/do2/functions/version.mcfunction
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# DATAPACK VERSION NUMBER: 0.14.15
# DATAPACK VERSION NUMBER: 0.14.16

tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.14.15§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]
tellraw @s ["",{"text":"The §o§n§aBrilliance Datapack§r's version is: [§b0.14.16§r] Check latest version "},{"text":"§o§b§nhere§r","clickEvent":{"action":"open_url","value":"https://github.com/trackedout/Brilliance/blob/main/Brilliance%20Datapack/data/do2/functions/version.mcfunction"}},{"text":"."}]

0 comments on commit 59e6427

Please sign in to comment.