1
0
spogulis no https://github.com/minetest-mods/moreblocks.git synced 2025-09-17 20:15:23 +02:00

Merge pull request #11 from Jat15/patch-2

circular_saw limit in inventory input.
Šī revīzija ir iekļauta:
Calinou
2014-01-20 10:50:30 -08:00
revīzija 396945ed3e

Parādīt failu

@@ -194,9 +194,9 @@ circular_saw.allow_metadata_inventory_put = function(pos, listname, index, stack
for i,v in ipairs(circular_saw.known_stairs) do
if(circular_saw.known_stairs[ i ] == stack:get_name()) then
return stack:get_count();
end
if(circular_saw.known_stairs[ i ] == stack:get_name()) and inv:room_for_item("input", stack) then
return stack:get_count();
end
end
return 0;