diff options
-rw-r--r-- | railcart/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railcart/init.lua b/railcart/init.lua index ea4893c..bd74ab9 100644 --- a/railcart/init.lua +++ b/railcart/init.lua @@ -13,7 +13,7 @@ local function create_detached_inventory(id) railcart:save() end, allow_put = function(inv, listname, index, stack, player) - return 1 + return stack:get_count() end, allow_take = function(inv, listname, index, stack, player) return stack:get_count() |