Even commenting out everything except
It has the same result (kicks me but no errors). I thought this might just mean I royally screwed up the program, so I tested it on a Cuberite instance that was not connected to Bungeecord. "An error has occured" message in chat, but didn't get kicked.
Could it have something to do with me testing on windows?
Pastebin of full code http://pastebin.com/QtPrWqqe
Edit: Just finished compiling a build on CentOS 7 and tested it out. Same issue, except the Minecraft Client shows a slightly different disconnect error:
EOFException : null @ java.io.DataInputStream:197
The 197 was a -1 when I tested on Windows.
a_Player:GetClientHandle():SendPluginMessage("BungeeCord", "\0\7Connect\0\14lobby");
It has the same result (kicks me but no errors). I thought this might just mean I royally screwed up the program, so I tested it on a Cuberite instance that was not connected to Bungeecord. "An error has occured" message in chat, but didn't get kicked.
Could it have something to do with me testing on windows?
Pastebin of full code http://pastebin.com/QtPrWqqe
Edit: Just finished compiling a build on CentOS 7 and tested it out. Same issue, except the Minecraft Client shows a slightly different disconnect error:
EOFException : null @ java.io.DataInputStream:197
The 197 was a -1 when I tested on Windows.