Skip to content

Commit

Permalink
Allow digging injectors without clearing the filter
Browse files Browse the repository at this point in the history
Thie PR allows diging injectors without clearing their filter inventory. I can't see a reason why this was nessessary.
  • Loading branch information
Emojigit committed Oct 20, 2024
1 parent 7079fff commit 31add6c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions filter-injector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -451,11 +451,6 @@ for _, data in ipairs({
if not pipeworks.may_configure(pos, player) then return 0 end
return count
end,
can_dig = function(pos, player)
local meta = minetest.get_meta(pos)
local inv = meta:get_inventory()
return inv:is_empty("main")
end,
tube = {connect_sides = {right = 1}},
}

Expand Down

0 comments on commit 31add6c

Please sign in to comment.