|
|
@@ -8,15 +8,15 @@ clear @s gold_nugget
|
|
|
scoreboard players operation @s temp = @s gold
|
|
|
scoreboard players operation @s temp /= #const_81 mem
|
|
|
# 给予金锭
|
|
|
-execute if score @s temp matches 1.. at @s run function ltw:shop/summon_block
|
|
|
+execute if score @s temp matches 1.. at @s run function item:shop/summon_block
|
|
|
# 获取金锭数,存于 temp
|
|
|
scoreboard players operation @s temp = @s gold
|
|
|
scoreboard players operation @s temp %= #const_81 mem
|
|
|
scoreboard players operation @s temp /= #const_9 mem
|
|
|
# 给予金锭
|
|
|
-execute if score @s temp matches 1.. at @s run function ltw:shop/summon_gold
|
|
|
+execute if score @s temp matches 1.. at @s run function item:shop/summon_gold
|
|
|
# 获取金粒数,存于 temp
|
|
|
scoreboard players operation @s temp = @s gold
|
|
|
scoreboard players operation @s temp %= #const_9 mem
|
|
|
# 给予金粒
|
|
|
-execute if score @s temp matches 1.. at @s run function ltw:shop/summon_nugget
|
|
|
+execute if score @s temp matches 1.. at @s run function item:shop/summon_nugget
|