1
0
mirror of https://github.com/LOOHP/Limbo.git synced 2026-06-08 05:51:43 +00:00

Added new Server Properties and cleaned up Login Plugin Packets

- Added option for Modern Forwarding and BungeeGuard (for proxies that are connected to older servers)
- Made Modern, Bungeecord and Bungeeguard mutually exclusive
- Fixed PacketLoginInPluginMessaging, structure was incorrect
- Added `readUUID` in DataTypeIO
This commit is contained in:
GrizzlT
2021-08-17 11:19:14 +02:00
parent 7be0b5f9da
commit c7378beb2b
6 changed files with 87 additions and 36 deletions
@@ -23,6 +23,10 @@ public class DataTypeIO {
out.writeLong(uuid.getMostSignificantBits());
out.writeLong(uuid.getLeastSignificantBits());
}
public static UUID readUUID(DataInputStream in) throws IOException {
return new UUID(in.readLong(), in.readLong());
}
public static void writeCompoundTag(DataOutputStream out, CompoundTag tag) throws IOException {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();