This commit is contained in:
GNU Hacker 2021-12-17 19:25:15 +01:00
parent abcc0f96a7
commit 2a23cf60b8

@ -43,7 +43,7 @@ core.register_chatcommand("pay", {
core.chat_send_player(name, S("Pay Successfully! You have transferred @1 Emeralds." , num) )
core.chat_send_player(playername2, S("Pay Successfully! You've gotten @1 Emeralds.", num) )
if core.get_modpath("irc") then
irc.saysec(playername.." has transferred "..num.." emeralds to "..playername2)
irc.saysec(name.." has transferred "..num.." emeralds to "..playername2)
end
emeraldbank.add_emeralds(player1, -num)
emeraldbank.add_emeralds(player2, num)