Procházet zdrojové kódy

修复物品清理bug

HerobrineXia před 6 roky
rodič
revize
545fbf9600
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      data/item/functions/shop/refresh_equip.mcfunction

+ 1 - 0
data/item/functions/shop/refresh_equip.mcfunction

@@ -24,6 +24,7 @@ give @s[scores={shop_apple=2}] enchanted_golden_apple{display:{Name:'{"text":"
 scoreboard players reset @s shop_apple
 scoreboard players reset @s shop_apple
 
 
 clear @s arrow
 clear @s arrow
+clear @s tipped_arrow
 give @s[scores={shop_arrow=1}] arrow
 give @s[scores={shop_arrow=1}] arrow
 give @s[scores={shop_arrow=2}] arrow 2
 give @s[scores={shop_arrow=2}] arrow 2
 give @s[scores={shop_arrow=3}] tipped_arrow{Potion:"minecraft:slowness"} 2
 give @s[scores={shop_arrow=3}] tipped_arrow{Potion:"minecraft:slowness"} 2