00ll00 6 years ago
parent
commit
92ab32d566
1 changed files with 2 additions and 1 deletions
  1. 2 1
      data/item/functions/shop/check.mcfunction

+ 2 - 1
data/item/functions/shop/check.mcfunction

@@ -4,4 +4,5 @@ execute if score @s buy_trigger matches 2 run function item:shop/buy_apple2
 execute if score @s buy_trigger matches 3 run function item:shop/buy_armor1
 execute if score @s buy_trigger matches 4 run function item:shop/buy_armor2
 
-scoreboard players set @s buy_trigger 0
+scoreboard players set @s buy_trigger 0
+scoreboard players enable @s buy_trigger