mirror of
https://github.com/minetest-mods/drawers.git
synced 2024-11-08 07:53:44 +01:00
Do not omit last inventory slot
This commit is contained in:
parent
26d9066f76
commit
4e99f7db71
@ -170,7 +170,7 @@ core.register_entity("drawers:visual", {
|
||||
local i = 0
|
||||
local inv = clicker:get_inventory()
|
||||
|
||||
while i < inv:get_size("main") do
|
||||
while i <= inv:get_size("main") do
|
||||
-- set current stack to leftover of insertion
|
||||
local leftover = self.try_insert_stack(
|
||||
self,
|
||||
|
Loading…
Reference in New Issue
Block a user