diff options
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ minetest.register_abm({ local inv = meta:get_inventory() -- is barrel empty? - if inv:is_empty("src") then + if not inv or inv:is_empty("src") then return end |