Skip to content

Commit

Permalink
Fix crash (part 1)
Browse files Browse the repository at this point in the history
Fixed issue #1
  • Loading branch information
cootshk authored Apr 10, 2023
1 parent 8e762f5 commit 62c996a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1.19.3/data/ridablepearls/functions/tick.mcfunction
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,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"}]
Expand Down

0 comments on commit 62c996a

Please sign in to comment.