Skip to content

Commit

Permalink
fix liquid tanks not dropping stored items
Browse files Browse the repository at this point in the history
  • Loading branch information
ICY105 committed Aug 21, 2022
1 parent 90186d7 commit 559e5d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ execute if score @s mechanization.fluid.0 matches 1.. run scoreboard players ope
execute if score @s mechanization.fluid.0 matches 1.. run data modify block -30000000 0 3202 Text1 set value '{"translate":"mech.lore.stored_liquid_amount","color":"gray","italic":false,"with":[{"score":{"name":"$temp_2","objective":"mechanization.data"}}]}'
execute if score @s mechanization.fluid.0 matches 1.. run data modify entity @e[type=item,sort=nearest,limit=1,distance=..1] Item.tag.display.Lore insert 2 from block -30000000 0 3202 Text1

function mechanization:base/utils/break_drop_inv
function mechanization:machines/machines/liquid_pipe/remove_adjacent_pipes

#kill
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
execute if entity @s[tag=mechanization.liquid_tank.t1] run function mechanization:base/utils/break_machine_t1
execute if entity @s[tag=mechanization.liquid_tank.t2] run function mechanization:base/utils/break_machine_t2
execute if entity @s[tag=mechanization.liquid_tank.t3] run function mechanization:base/utils/break_machine_t3
function mechanization:base/utils/break_drop_inv

#fix pipes
function mechanization:machines/machines/liquid_pipe/remove_adjacent_pipes

0 comments on commit 559e5d4

Please sign in to comment.