mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-07-06 18:10:36 +02:00
fix replacement when inv is full.
This commit is contained in:
@ -311,6 +311,7 @@ function circular_saw.on_metadata_inventory_take(
|
||||
local player_inv = player:get_inventory()
|
||||
if player_inv:room_for_item("main", input_stack) then
|
||||
player_inv:add_item("main", input_stack)
|
||||
else return
|
||||
end
|
||||
|
||||
circular_saw:reset(pos)
|
||||
|
Reference in New Issue
Block a user