Minor output fixes

This commit is contained in:
ChrisPHP 2023-08-01 22:39:24 +01:00 committed by the-real-herowl
parent 356045b3e3
commit 7fcc2e3be3

View file

@ -2,8 +2,6 @@
--||||| STONECUTTER ||||| --||||| STONECUTTER |||||
--||||||||||||||||||||||| --|||||||||||||||||||||||
-- TO-DO:
-- * Add GUI
local S = minetest.get_translator("mcl_stonecutter") local S = minetest.get_translator("mcl_stonecutter")
@ -163,6 +161,8 @@ local function update_stonecutter_slots(meta)
cut_item:set_count(1) cut_item:set_count(1)
end end
inv:set_stack("output", 1, cut_item) inv:set_stack("output", 1, cut_item)
else
inv:set_stack("output", 1, "")
end end
end end