Update SubData

This commit is contained in:
ME1312 2021-10-25 01:12:06 -04:00
parent 92151d75d0
commit c137906fcd
No known key found for this signature in database
GPG Key ID: FEFFE2F698E88FA8
6 changed files with 13 additions and 17 deletions

View File

@ -28,7 +28,7 @@
<dependency>
<groupId>net.ME1312.Galaxi</groupId>
<artifactId>GalaxiUtil</artifactId>
<version>21w44b</version>
<version>21w44c</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -34,7 +34,7 @@
<dependency>
<groupId>net.ME1312.SubData</groupId>
<artifactId>Server</artifactId>
<version>21w44a</version>
<version>21w44b</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -52,7 +52,7 @@ public class PacketExAddServer implements PacketObjectIn<Integer>, PacketObjectO
@Override
public ObjectMap<Integer> send(SubDataClient client) {
ObjectMap<Integer> data = new ObjectMap<Integer>();
if (tracker != null) data.set(0x0000, tracker);
data.set(0x0000, tracker);
data.set(0x0001, name);
data.set(0x0002, enabled);
data.set(0x0003, port);

View File

@ -44,16 +44,12 @@ public class PacketExDeleteServer implements PacketObjectIn<Integer>, PacketObje
@Override
public ObjectMap<Integer> send(SubDataClient client) {
if (tracker == null) {
return null;
} else {
ObjectMap<Integer> data = new ObjectMap<Integer>();
data.set(0x0000, tracker);
data.set(0x0001, name);
data.set(0x0002, info);
if (recycle) data.set(0x0003, true);
return data;
}
ObjectMap<Integer> data = new ObjectMap<Integer>();
data.set(0x0000, tracker);
data.set(0x0001, name);
data.set(0x0002, info);
if (recycle) data.set(0x0003, true);
return data;
}
@Override

View File

@ -18,13 +18,13 @@
<dependency>
<groupId>net.ME1312.Galaxi</groupId>
<artifactId>GalaxiUtil</artifactId>
<version>21w44b</version>
<version>21w44c</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.ME1312.SubData</groupId>
<artifactId>Client</artifactId>
<version>21w44a</version>
<version>21w44b</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -30,13 +30,13 @@
<dependency>
<groupId>net.ME1312.Galaxi</groupId>
<artifactId>GalaxiEngine</artifactId>
<version>21w44b</version>
<version>21w44c</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.ME1312.Galaxi</groupId>
<artifactId>GalaxiUI</artifactId>
<version>21w44b</version>
<version>21w44c</version>
<scope>runtime</scope>
</dependency>
<dependency>