1
0
Fork 0

master #1

Merged
WolfySoy merged 1116 commits from VoxeLibre/VoxeLibre:master into PotionEffectTweaks 2024-07-02 11:49:28 +02:00
1 changed files with 5 additions and 1 deletions
Showing only changes of commit 0e60231c2e - Show all commits

View File

@ -289,8 +289,12 @@ minetest.register_node("mcl_stonecutter:stonecutter", {
local input = inv:get_stack("input", 1)
input:take_item()
inv:set_stack("input", 1, input)
end
if input:get_count() == 0 then
meta:set_string("cut_stone", nil)
end
else
meta:set_string("cut_stone", nil)
end
update_stonecutter_slots(meta)
end,
on_construct = function(pos)