mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 10:15:52 +01:00
Minor sequence correction
This commit is contained in:
parent
3e78536d08
commit
5454590874
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user