From 9a453c0b7ab5554391b7674d64740e7e502e9564 Mon Sep 17 00:00:00 2001 From: Legends11 <235496468+tickwarden@users.noreply.github.com> Date: Thu, 9 Jul 2026 17:40:24 +0300 Subject: [PATCH] Change execution condition for tellraw command --- data/mce/functions/load/main.mcfunction | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/mce/functions/load/main.mcfunction b/data/mce/functions/load/main.mcfunction index 62aceac..b1ed56e 100644 --- a/data/mce/functions/load/main.mcfunction +++ b/data/mce/functions/load/main.mcfunction @@ -1,4 +1,4 @@ scoreboard objectives add loadMCE trigger scoreboard players enable @a loadMCE -execute if data storage mce:config {global:{loaded:1b}} run tellraw @a ["",{"text":"[✔ INSTALL]","color":"green","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 1"},"hoverEvent":{"action":"show_text","contents":"Install the datapack"}},{"text":" "},{"text":"[✖ CANCEL]","color":"red","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 2"},"hoverEvent":{"action":"show_text","contents":"Cancel the installation"}}] +execute unless data storage mce:config {global:{loaded:1b}} run tellraw @a ["",{"text":"[✔ INSTALL]","color":"green","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 1"},"hoverEvent":{"action":"show_text","contents":"Install the datapack"}},{"text":" "},{"text":"[✖ CANCEL]","color":"red","bold":true,"clickEvent":{"action":"run_command","value":"/trigger loadMCE set 2"},"hoverEvent":{"action":"show_text","contents":"Cancel the installation"}}]