mirror of
https://gitlab.com/lunovox/minertrade.git
synced 2025-03-15 05:31:20 +00:00
CORREÇÃO DE BUG
This commit is contained in:
parent
169d86e448
commit
a7026c4d53
1 changed files with 2 additions and 2 deletions
4
api.lua
4
api.lua
|
@ -384,7 +384,7 @@ modMinerTrade.sendMailMachine = function(posMachine, ownername, message)
|
|||
if carta~=nil then
|
||||
minetest.log('action',
|
||||
modMinerTrade.translate("A letter was sent by the dispensing machine '%s' to '%s' advising about '%s'!"):
|
||||
format(posMachineName, ownername , message)
|
||||
format(modMinerTrade.getPosMachineName(posMachine), ownername , message)
|
||||
)
|
||||
else
|
||||
minetest.log(
|
||||
|
@ -393,7 +393,7 @@ modMinerTrade.sendMailMachine = function(posMachine, ownername, message)
|
|||
)
|
||||
end
|
||||
modMinerTrade.setMachineFlagsAlert(posMachine, agora)
|
||||
end --if type(modMinerTrade.machine_flags[posMachineName].lastalert)~="number" or modMinerTrade.machine_flags[posMachineName].lastalert + mailMachineInterval < agora then
|
||||
end --if macFlag + mailMachineInterval < agora then
|
||||
else
|
||||
minetest.log(
|
||||
"error",("[modMinerTrade.sendMailMachine(posMachine='%s', ownername='%s', message='%s')] "):format(dump(posMachine), dump(ownername), dump(message))
|
||||
|
|
Loading…
Add table
Reference in a new issue