Skip to content

Commit

Permalink
Update SubData
Browse files Browse the repository at this point in the history
  • Loading branch information
ME1312 committed Oct 25, 2021
1 parent 92151d7 commit c137906
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 17 deletions.
2 changes: 1 addition & 1 deletion SubServers.Bungee/common/pom.xml
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>net.ME1312.Galaxi</groupId>
<artifactId>GalaxiUtil</artifactId>
<version>21w44b</version>
<version>21w44c</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion SubServers.Bungee/pom.xml
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>net.ME1312.SubData</groupId>
<artifactId>Server</artifactId>
<version>21w44a</version>
<version>21w44b</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
Expand Up @@ -52,7 +52,7 @@ public PacketExAddServer(ExternalSubServer server, UUID running, Consumer<Object
@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);
Expand Down
Expand Up @@ -44,16 +44,12 @@ public PacketExDeleteServer(String name, ObjectMap<String> info, boolean recycle

@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
Expand Down
4 changes: 2 additions & 2 deletions SubServers.Client/Common/pom.xml
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions SubServers.Host/pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit c137906

Please sign in to comment.