Minor sequence correction

This commit is contained in:
ME1312 2022-02-15 11:43:25 -05:00
parent 3e78536d08
commit 5454590874
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8

View File

@ -189,8 +189,8 @@ public class ExternalHost extends Host implements ClientHandler {
plugin.getPluginManager().callEvent(event); plugin.getPluginManager().callEvent(event);
if (!event.isCancelled()) { if (!event.isCancelled()) {
queue(new PacketExAddServer(((ExternalSubServer) server), (server.isRunning())?((ExternalSubLogger) server.getLogger()).getExternalAddress():null, data -> { queue(new PacketExAddServer(((ExternalSubServer) server), (server.isRunning())?((ExternalSubLogger) server.getLogger()).getExternalAddress():null, data -> {
((ExternalSubServer) server).registered(true);
if (data.contains(0x0002)) ((ExternalSubServer) server).started(data.getUUID(0x0002)); if (data.contains(0x0002)) ((ExternalSubServer) server).started(data.getUUID(0x0002));
((ExternalSubServer) server).registered(true);
})); }));
servers.put(server.getName().toLowerCase(), server); servers.put(server.getName().toLowerCase(), server);
return true; return true;