function emeraldbank.get_emeralds(name)

This commit is contained in:
Freeman 2023-10-28 23:07:33 +02:00
parent f36651701e
commit a4fa4c21ef

@ -21,6 +21,11 @@
local S = core.get_translator(core.get_current_modname())
function emeraldbank.get_emeralds(name)
atm.read_account(name)
return atm.balance[name]
end
function emeraldbank.add_emeralds(player, num)
if not player then return false end
local meta = player:get_meta()