Fix for newest BungeeCord builds (after 4040d9f). Also fixes some minor stuff.