Another atempt to fix "Unexpected custom data"
This commit is contained in:
parent
7d9aba43ec
commit
6bca75b3ac
|
|
@ -4,7 +4,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group 'org.adde0109'
|
group 'org.adde0109'
|
||||||
version '0.4.0'
|
version '0.5.1'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
|
|
@ -19,7 +19,7 @@ dependencies {
|
||||||
implementation 'com.electronwill.night-config:toml:3.6.5'
|
implementation 'com.electronwill.night-config:toml:3.6.5'
|
||||||
implementation 'org.bstats:bstats-velocity:3.0.0'
|
implementation 'org.bstats:bstats-velocity:3.0.0'
|
||||||
implementation 'org.apache.commons:commons-collections4:4.4'
|
implementation 'org.apache.commons:commons-collections4:4.4'
|
||||||
annotationProcessor 'com.velocitypowered:velocity-api:3.1.2-SNAPSHOT'
|
annotationProcessor 'com.velocitypowered:velocity-api:3.1.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
shadowJar {
|
shadowJar {
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ import org.slf4j.Logger;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
@Plugin(id = "ambassador", name = "Ambassador", version = "0.4.0", authors = {"adde0109"})
|
@Plugin(id = "ambassador", name = "Ambassador", version = "0.5.1", authors = {"adde0109"})
|
||||||
public class Ambassador {
|
public class Ambassador {
|
||||||
|
|
||||||
public ProxyServer server;
|
public ProxyServer server;
|
||||||
|
|
|
||||||
|
|
@ -68,9 +68,9 @@ public class ForgeConnection {
|
||||||
}
|
}
|
||||||
//TODO: Generate the ACK packet ourself.
|
//TODO: Generate the ACK packet ourself.
|
||||||
ForgeConnection.recivedClientACK = (response == null) ? ForgeConnection.recivedClientACK : response;
|
ForgeConnection.recivedClientACK = (response == null) ? ForgeConnection.recivedClientACK : response;
|
||||||
transmittedHandshake = Optional.of(msg);
|
|
||||||
syncedTo = Optional.of(forgeServerConnection.getServer());
|
syncedTo = Optional.of(forgeServerConnection.getServer());
|
||||||
});
|
});
|
||||||
|
transmittedHandshake = Optional.of(msg);
|
||||||
future.complete(true);
|
future.complete(true);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user