From d600a8e38693fc28a0ecee14855e7844d420d0c4 Mon Sep 17 00:00:00 2001 From: lullaby6 Date: Thu, 27 Feb 2025 08:23:26 -0300 Subject: [PATCH] readme --- README.md | 2 +- .../function/message/macro/random.mcfunction | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 406b106..3d2bd43 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Custom colors: Bypass player sleeping message: -``mcfunction +```mcfunction /tag add sleeping_messages.player.bypass ``` diff --git a/data/sleeping_messages/function/message/macro/random.mcfunction b/data/sleeping_messages/function/message/macro/random.mcfunction index a9ec675..782b309 100644 --- a/data/sleeping_messages/function/message/macro/random.mcfunction +++ b/data/sleeping_messages/function/message/macro/random.mcfunction @@ -1,3 +1 @@ -$execute store result storage sleeping_messages:config index int 1 run random value 0..$(length) - -execute store result score index sleeping_messages.config run data get storage sleeping_messages:config index \ No newline at end of file +$execute store result storage sleeping_messages:config index int 1 run random value 0..$(length) \ No newline at end of file