mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 02:08:27 +01:00
Update SubData
This commit is contained in:
parent
92151d75d0
commit
c137906fcd
@ -28,7 +28,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.ME1312.Galaxi</groupId>
|
<groupId>net.ME1312.Galaxi</groupId>
|
||||||
<artifactId>GalaxiUtil</artifactId>
|
<artifactId>GalaxiUtil</artifactId>
|
||||||
<version>21w44b</version>
|
<version>21w44c</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.ME1312.SubData</groupId>
|
<groupId>net.ME1312.SubData</groupId>
|
||||||
<artifactId>Server</artifactId>
|
<artifactId>Server</artifactId>
|
||||||
<version>21w44a</version>
|
<version>21w44b</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -52,7 +52,7 @@ public class PacketExAddServer implements PacketObjectIn<Integer>, PacketObjectO
|
|||||||
@Override
|
@Override
|
||||||
public ObjectMap<Integer> send(SubDataClient client) {
|
public ObjectMap<Integer> send(SubDataClient client) {
|
||||||
ObjectMap<Integer> data = new ObjectMap<Integer>();
|
ObjectMap<Integer> data = new ObjectMap<Integer>();
|
||||||
if (tracker != null) data.set(0x0000, tracker);
|
data.set(0x0000, tracker);
|
||||||
data.set(0x0001, name);
|
data.set(0x0001, name);
|
||||||
data.set(0x0002, enabled);
|
data.set(0x0002, enabled);
|
||||||
data.set(0x0003, port);
|
data.set(0x0003, port);
|
||||||
|
@ -44,16 +44,12 @@ public class PacketExDeleteServer implements PacketObjectIn<Integer>, PacketObje
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ObjectMap<Integer> send(SubDataClient client) {
|
public ObjectMap<Integer> send(SubDataClient client) {
|
||||||
if (tracker == null) {
|
ObjectMap<Integer> data = new ObjectMap<Integer>();
|
||||||
return null;
|
data.set(0x0000, tracker);
|
||||||
} else {
|
data.set(0x0001, name);
|
||||||
ObjectMap<Integer> data = new ObjectMap<Integer>();
|
data.set(0x0002, info);
|
||||||
data.set(0x0000, tracker);
|
if (recycle) data.set(0x0003, true);
|
||||||
data.set(0x0001, name);
|
return data;
|
||||||
data.set(0x0002, info);
|
|
||||||
if (recycle) data.set(0x0003, true);
|
|
||||||
return data;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -18,13 +18,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.ME1312.Galaxi</groupId>
|
<groupId>net.ME1312.Galaxi</groupId>
|
||||||
<artifactId>GalaxiUtil</artifactId>
|
<artifactId>GalaxiUtil</artifactId>
|
||||||
<version>21w44b</version>
|
<version>21w44c</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.ME1312.SubData</groupId>
|
<groupId>net.ME1312.SubData</groupId>
|
||||||
<artifactId>Client</artifactId>
|
<artifactId>Client</artifactId>
|
||||||
<version>21w44a</version>
|
<version>21w44b</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
@ -30,13 +30,13 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.ME1312.Galaxi</groupId>
|
<groupId>net.ME1312.Galaxi</groupId>
|
||||||
<artifactId>GalaxiEngine</artifactId>
|
<artifactId>GalaxiEngine</artifactId>
|
||||||
<version>21w44b</version>
|
<version>21w44c</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.ME1312.Galaxi</groupId>
|
<groupId>net.ME1312.Galaxi</groupId>
|
||||||
<artifactId>GalaxiUI</artifactId>
|
<artifactId>GalaxiUI</artifactId>
|
||||||
<version>21w44b</version>
|
<version>21w44c</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
Loading…
Reference in New Issue
Block a user