Skip to content

Commit

Permalink
fixes #241
Browse files Browse the repository at this point in the history
  • Loading branch information
davepusey committed Dec 23, 2024
1 parent 1474f9d commit 48278e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datapack/data/fetchr/function/tick/tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ execute if score $is_multiplayer fetchr.state matches 0 unless score $integrated
execute unless score $integrated_server fetchr.state matches 1 run scoreboard players set $is_multiplayer fetchr.state 1

# Place the sign in resource pack check chamber
execute if entity @a[tag=fetchr.resourcepack_check, limit=1] run setblock 1 0 1 minecraft:sea_lantern
execute if entity @a[tag=fetchr.resourcepack_check, limit=1] run setblock 1 2 1 minecraft:air
execute if entity @a[tag=fetchr.resourcepack_check, limit=1] run setblock 1 2 1 minecraft:warped_wall_sign{front_text: {messages: ['{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line1"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line1", "fallback": "", "bold":true}], "clickEvent": {"action": "run_command", "value": "/trigger fetchr.resource_pack_check"}}', '{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line2"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line2", "fallback": "Download", "bold":true}]}', '{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line3"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line3", "fallback": "Resource Pack", "bold":true}]}', '{"translate": "fetchr.technical.resourcepack_version_{NEUN_SCRIPT:rp_version}", "fallback": "%2$s", "color": "#8eedeb", "with": [{"translate": "fetchr.resourcepack_check.sign.line4"}, {"translate": "fetchr.resourcepack_check.wrong_version.sign.line4", "fallback": "", "bold":true}]}']}}
#NEUN_SCRIPT end
Expand Down

0 comments on commit 48278e5

Please sign in to comment.