mirror of
https://codeberg.org/usrib/emeraldbank.git
synced 2025-01-08 22:37:36 +01:00
fix /emeralds command return player money
This commit is contained in:
parent
a1a6a3798b
commit
e652b698a8
@ -55,6 +55,8 @@ core.register_chatcommand("emeralds", {
|
||||
end
|
||||
if player and num then
|
||||
emeraldbank.add_emeralds(player, num)
|
||||
atm.readaccounts()
|
||||
minetest.chat_send_player(name, S("@1 has now @2 emeralds in bank account", playername, atm.balance[playername]))
|
||||
return true
|
||||
end
|
||||
return false
|
||||
|
Loading…
Reference in New Issue
Block a user