Просмотр исходного кода

Merge branch 'master' of https://github.com/LTCatt/LTW3

LTCatt 6 лет назад
Родитель
Сommit
b7420b228b
1 измененных файлов с 2 добавлено и 1 удалено
  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