1
0
cuberite-2a/MCServer/Plugins/MagicCarpet/coremessaging.lua

20 lines
443 B
Lua
Raw Normal View History

Core = cPluginManager:Get():GetPlugin("Core")
2013-10-04 17:22:01 -04:00
function SendMessage(a_Player, a_Message)
if (Core ~= nil) then
Core:Call("SendMessage", a_Player, a_Message)
2013-10-04 17:22:01 -04:00
end
end
function SendMessageSuccess(a_Player, a_Message)
if (Core ~= nil) then
Core:Call("SendMessageSuccess", a_Player, a_Message)
2013-10-04 17:22:01 -04:00
end
end
function SendMessageFailure(a_Player, a_Message)
if (Core ~= nil) then
Core:Call("SendMessageFailure", a_Player, a_Message)
2013-10-04 17:22:01 -04:00
end
end