![]() |
|
Error when using cRoot.BroadcastChat - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: Error when using cRoot.BroadcastChat (/thread-1706.html) |
Error when using cRoot.BroadcastChat - wolfmitchell - 01-03-2015 I have some code that is basically this:
local ChatMsg=cCompositeChat()
:AddTextPart"a"
:AddTextPart"b"
cRoot:BroadcastChat(ChatMsg)
When I do that, I get this:Code: [22:07:00] LUA: Plugins/(removed, lel)/main.lua:61: error in function 'BroadcastChat'. RE: Error when using cRoot.BroadcastChat - wolfmitchell - 01-03-2015 Fixed it. For those who have this issue in the future, use cRoot:Get():BroadcastChat() |