When i run the client, in the console this error comes up.
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN firstmod
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: domain firstmod is missing 38 textures
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: domain firstmod is missing a resource manager - it is probably a side-effect of automatic texture processing
[14:27:09] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
Also, thanks for the tips on cleaning up my code, but i dont mind my code being longer than needed, as long as i can navigate it.