mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-30 17:37:32 +01:00
Fix stack count fetching
This commit is contained in:
parent
82f4862e73
commit
0d32e05b52
@ -41,10 +41,10 @@ function technic.chests.inv_move(pos, from_list, from_index, to_list, to_index,
|
||||
return inv_change(pos, count, player)
|
||||
end
|
||||
function technic.chests.inv_put(pos, listname, index, stack, player)
|
||||
return inv_change(pos, count, player)
|
||||
return inv_change(pos, stack:get_count(), player)
|
||||
end
|
||||
function technic.chests.inv_take(pos, listname, index, stack, player)
|
||||
return inv_change(pos, count, player)
|
||||
return inv_change(pos, stack:get_count(), player)
|
||||
end
|
||||
|
||||
function technic.chests.on_inv_move(pos, from_list, from_index, to_list, to_index, count, player)
|
||||
|
Loading…
Reference in New Issue
Block a user