Fix BungeeCord support

This would fix the BungeeCord support. I tested it and it worked for me and some other testers fine.