mirror of
https://gitlab.com/lunovox/minertrade.git
synced 2025-03-15 05:31:20 +00:00
TENTATIVA DE ALIVIAR A MEMÓRIA RAM
Não sei se essa tentativa irá funcionar. mas precisarei testar. Talvez isso impedirá que o salário seja depositado. Mas só após os testes saber se é realmente isso acontecerá.
This commit is contained in:
parent
a7026c4d53
commit
0de37b28dc
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ minetest.after(3.5, function()
|
|||
local stack = ItemStack(modMinerTrade.payday.salary)
|
||||
local leftover = inv:add_item(nameInvList, stack)
|
||||
modMinerTrade.setSafeInventory(playername, inv:get_list(nameInvList))
|
||||
modMinerTrade.delSafeInventory(playername)
|
||||
if leftover:get_count() > 0 then
|
||||
minetest.chat_send_player(
|
||||
playername,
|
||||
|
|
Loading…
Add table
Reference in a new issue