matterbridge support
This commit is contained in:
@@ -44,6 +44,9 @@ core.register_chatcommand("pay", {
|
||||
if core.get_modpath("irc") and irc.saysec then
|
||||
irc.saysec(name.." has transferred "..num.." emeralds to "..playername2)
|
||||
end
|
||||
if core.get_modpath("yl_matterbridge") and yl_matterbridge.send_to_sec then
|
||||
yl_matterbridge.send_to_sec("", name.." has transferred "..num.." emeralds to "..playername2)
|
||||
end
|
||||
emeraldbank.add_emeralds(player1, -num)
|
||||
emeraldbank.add_emeralds(player2, num)
|
||||
core.sound_play("cash", {
|
||||
|
Reference in New Issue
Block a user