This commit is contained in:
Anuken
2020-06-08 17:19:47 -04:00
parent 87ab895253
commit 8ea28e1ced
147 changed files with 438 additions and 437 deletions

View File

@@ -159,7 +159,7 @@ public class Packets{
public static class ConnectPacket implements Packet{
public int version;
public String versionType;
public Array<String> mods;
public Seq<String> mods;
public String name, uuid, usid;
public boolean mobile;
public int color;
@@ -196,7 +196,7 @@ public class Packets{
mobile = buffer.get() == 1;
color = buffer.getInt();
int totalMods = buffer.get();
mods = new Array<>(totalMods);
mods = new Seq<>(totalMods);
for(int i = 0; i < totalMods; i++){
mods.add(TypeIO.readString(buffer));
}