From e9b73e36baa0c259fe97579f93b8d74b4880fd59 Mon Sep 17 00:00:00 2001 From: cootshk <83678457+cootshk@users.noreply.github.com> Date: Mon, 10 Apr 2023 18:37:10 -0500 Subject: [PATCH] Fix crash (part 2) Fix #1 for the 1.19.4 branch --- 1.19.4/data/ridablepearls/functions/tick.mcfunction | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1.19.4/data/ridablepearls/functions/tick.mcfunction b/1.19.4/data/ridablepearls/functions/tick.mcfunction index 48ab053..bbada0f 100644 --- a/1.19.4/data/ridablepearls/functions/tick.mcfunction +++ b/1.19.4/data/ridablepearls/functions/tick.mcfunction @@ -21,8 +21,8 @@ execute if score @s ConfigurePearls matches 1 if score BreakInWater PearlConfig execute as @a[gamemode=creative] if score @s ConfigurePearls matches 1 if score BreakInWater PearlConfig matches 3 run tellraw @s ["",{"text":"Ender Pearls Will Break In Water!","color":"dark_green"}] execute if score @s ConfigurePearls matches 1 if score BreakInWater PearlConfig matches 3 run scoreboard players set BreakInWater PearlConfig 1 #if not in creative mode -execute as @a[gamemode=!creative] if score @s ConfigurePearls matches 1 ConfigurePearls run tellraw @s ["",{"text":"You must be in creative mode to configure ender pearls!","color":"dark_red"}] -execute as @a if score @s ConfigurePearls matches 1 ConfigurePearls run scoreboard players set @s ConfigurePearls 0 +execute as @a[gamemode=!creative] if score @s ConfigurePearls matches 1 run tellraw @s ["",{"text":"You must be in creative mode to configure ender pearls!","color":"dark_red"}] +execute as @a if score @s ConfigurePearls matches 1 run scoreboard players set @s ConfigurePearls 0 #ride pearls (trigger) execute as @a if score @s RidePearls matches 1 if score @s RidingPearls matches 1 run tellraw @s ["",{"text":"You can already ride ender pearls!","color":"dark_red"}]