mirror of
https://codeberg.org/usrib/emeraldbank.git
synced 2025-01-03 20:07:32 +01:00
fix beerchat chan var
This commit is contained in:
parent
45cd5d357b
commit
599cf7b359
@ -113,7 +113,7 @@ function emeraldbank.transfer_emeralds(player1, player2, num)
|
||||
yl_matterbridge.send_to_bridge("EMERALDBANK", msg)
|
||||
end
|
||||
if core.get_modpath("beerchat") and beerchat.send_on_channel then
|
||||
beerchat.send_on_channel({name="EMERALDBANK", channel=freeman.beerchat_main_chan, message=msg})
|
||||
beerchat.send_on_channel({name="EMERALDBANK", channel=beerchat.main_channel_name, message=msg})
|
||||
end
|
||||
emeraldbank.add_emeralds(player1, -num)
|
||||
emeraldbank.add_emeralds(player2, num)
|
||||
|
Loading…
Reference in New Issue
Block a user