Clarified network code & set linkdata to always be written to network
together.
This commit is contained in:
@@ -32,6 +32,8 @@ public class ClientDimData
|
||||
|
||||
public static ClientDimData read(DataInputStream input) throws IOException
|
||||
{
|
||||
return new ClientDimData(input.readInt(), input.readInt());
|
||||
int id = input.readInt();
|
||||
int rootId = input.readInt();
|
||||
return new ClientDimData(id, rootId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,9 @@ public class ClientLinkData
|
||||
|
||||
public static ClientLinkData read(DataInputStream input) throws IOException
|
||||
{
|
||||
return new ClientLinkData(Point4D.read(input), input.readInt());
|
||||
Point4D point = Point4D.read(input);
|
||||
int orientation = input.readInt();
|
||||
return new ClientLinkData(point, orientation);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user