10-21-2016, 06:29 PM
Classes that are purely-manually-exported need to be registered with ToLua before adding functions into them, Have a look at how the cNetwork does it:
https://github.com/cuberite/cuberite/blo...1237-L1246
https://github.com/cuberite/cuberite/blo...1237-L1246