1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-29 14:50:52 +02:00

Tiny tweaks

This commit is contained in:
TenPlus1
2016-01-10 19:34:11 +00:00
parent 171a67ebf2
commit 4c8931c9cd
2 changed files with 3 additions and 3 deletions

View File

@ -481,7 +481,7 @@ function farming.refill_plant(player, plantname, index)
if old_stack:get_name() ~= "" then return end
for i, stack in ipairs(inv:get_list("main")) do
for i, stack in pairs(inv:get_list("main")) do
if stack:get_name() == plantname and i ~= index then