diff --git a/ttb_data/data/ttb/functions/block/tempite_stone/reimburse_items.mcfunction b/ttb_data/data/ttb/functions/block/tempite_stone/reimburse_items.mcfunction index e4e5c51a..be5aa6f4 100644 --- a/ttb_data/data/ttb/functions/block/tempite_stone/reimburse_items.mcfunction +++ b/ttb_data/data/ttb/functions/block/tempite_stone/reimburse_items.mcfunction @@ -1,7 +1,5 @@ # called by block/tempite_stone/remove -loot spawn ~ ~ ~ loot ttb:blocks/tempite_stone - scoreboard players operation @s ttb_tempite_amnt /= $amethyst ttb_tempite_amnt loot spawn ~ ~ ~ loot ttb:items/amethyst scoreboard players operation #temp ttb_tempite_amnt = @s ttb_tempite_amnt diff --git a/ttb_data/data/ttb/functions/block/tempite_stone/remove.mcfunction b/ttb_data/data/ttb/functions/block/tempite_stone/remove.mcfunction index 89a38a56..f6b51245 100644 --- a/ttb_data/data/ttb/functions/block/tempite_stone/remove.mcfunction +++ b/ttb_data/data/ttb/functions/block/tempite_stone/remove.mcfunction @@ -8,5 +8,7 @@ particle block cyan_terracotta ~ ~ ~ .25 .25 .25 0 32 normal @a #reimburse items execute if score @s ttb_tempite_amnt matches 1.. align xyz positioned ~.5 ~ ~.5 run function ttb:block/tempite_stone/reimburse_items +loot spawn ~ ~ ~ loot ttb:blocks/tempite_stone + #kill entities kill @s[type=!player]