Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
Fix Tempite Stone not dropping itself unless it had Tempite
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Jul 13, 2020
1 parent 4d36795 commit d730116
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit d730116

Please sign in to comment.