From d730116518b02d7d0a07a4676fd82256efb191db Mon Sep 17 00:00:00 2001 From: Daniel Orr Date: Mon, 13 Jul 2020 12:56:34 +0100 Subject: [PATCH] Fix Tempite Stone not dropping itself unless it had Tempite --- .../functions/block/tempite_stone/reimburse_items.mcfunction | 2 -- .../data/ttb/functions/block/tempite_stone/remove.mcfunction | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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]