bug fix+1.21.6 support

This commit is contained in:
延皓
2025-06-17 23:38:35 +08:00
parent 00605db971
commit f7f9c29715
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.3.0-beta.0'}}
execute store success storage fzsd:version fzsd.need_update byte 1 run data merge storage fzsd:version {fzsd: {version: '3.3.0'}}
execute if data storage fzsd:version fzsd{need_update: 1b} run function fzsd:system/update
function fzsd:system/carpet/try_load_fzsd_score
function #fzsd:load
@@ -1,4 +1,4 @@
tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "本服务器启用了"}, {"text": "FZ生存数据包", "color": "gold", "underlined": true, "hover_event": {"action": "show_text", "value": {"text": "点击前往数据包gitee主页"}}, "click_event": {"action": "open_url", "value": "https://gitee.com/harvey-husky/fz-survival-datapack"}}]]
tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "本服务器启用了"}, {"text": "FZ生存数据包", "color": "gold", "underlined": true, "hover_event": {"action": "show_text", "value": {"text": "点击前往数据包gitee主页"}}, "click_event": {"action": "open_url", "url": "https://gitee.com/harvey-husky/fz-survival-datapack"}}]]
##
execute if entity @s[tag=!fzsd.ignore_interactor_headup_sneak] run tellraw @s [{"nbt": "fzsd.root", "interpret": true, "storage": "fzsd:logger"}, [{"text": "抬头90°并蹲起,或使用", "color": "white"}, {"text": "/trigger fzsd.module.interactor.trigger", "color": "aqua", "underlined": true, "hover_event": {"action": "show_text", "value": {"text": "点击填入聊天栏"}}, "click_event": {"action": "suggest_command", "command": "/trigger fzsd.module.interactor.trigger"}}, {"text": "打开交互器"}]]
##