Confusion with call syntax - 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: Confusion with call syntax (/thread-1299.html) |
Confusion with call syntax - Taugeshtu - 01-03-2014 Hi. I can't help but noticed that sometimes stuff is done through cRoot:Get(), or like so: Code: local root = cRoot:Get() Can someone please explain me the sacred meaning behind all this? Because I'd like to know in my mind in which case what should be used, I don't like the idea of having to ho through 5 different previous sources to find my case and using it. RE: Confusion with call syntax - xoft - 01-03-2014 This is due to my prior lesser knowledge of how things are done in Lua. There's an issue on GitHub for fixing this: https://github.com/mc-server/MCServer/issues/401 |