mirror of
https://git.zelz.net/catfoolyou/Project164.git
synced 2025-12-14 19:37:42 +00:00
Fix shit (kinda)
This commit is contained in:
@@ -313,7 +313,7 @@ public class YamlConfig implements ConfigurationAdapter {
|
||||
if(c == null) {
|
||||
c = new ArrayList();
|
||||
c.add("https://g.lax1dude.net/eaglercraft/origin_blacklist.txt");
|
||||
c.add("https://raw.githubusercontent.com/LAX1DUDE/eaglercraft/main/stable-download/origin_blacklist.txt");
|
||||
//c.add("https://raw.githubusercontent.com/LAX1DUDE/eaglercraft/main/stable-download/origin_blacklist.txt");
|
||||
c = this.get("origin_blacklist_subscriptions", c);
|
||||
}else {
|
||||
if(c.remove("https://g.eags.us/eaglercraft/origin_blacklist.txt")) {
|
||||
|
||||
@@ -101,18 +101,19 @@ public class InitialHandler extends PacketHandler implements PendingConnection {
|
||||
|
||||
@Override
|
||||
public void handle(final Packet2Handshake handshake) throws Exception {
|
||||
System.out.println("Handshake");
|
||||
Preconditions.checkState(this.thisState == State.HANDSHAKE, (Object) "Not expecting HANDSHAKE");
|
||||
this.handshake = handshake;
|
||||
this.bungee.getLogger().log(Level.INFO, "{0} has connected", this);
|
||||
boolean skipEncryption = false;
|
||||
if (handshake.getProcolVersion() == 69) {
|
||||
if (handshake.getProcolVersion() == 78) {
|
||||
skipEncryption = true;
|
||||
this.handshake.swapProtocol((byte) 78);
|
||||
}else if(handshake.getProcolVersion() > 78) {
|
||||
this.disconnect("this server does not support microsoft accounts");
|
||||
return;
|
||||
}else if(handshake.getProcolVersion() != 78) {
|
||||
this.disconnect("minecraft 1.5.2 required for eaglercraft backdoor access");
|
||||
this.disconnect("minecraft 1.6.4 required for eaglercraft backdoor access");
|
||||
return;
|
||||
}
|
||||
String un = handshake.getUsername();
|
||||
|
||||
Reference in New Issue
Block a user