Added Spigot-side API

This commit is contained in:
ajgeiss0702
2023-05-27 18:14:28 -07:00
parent 9f0881756d
commit c26e5835b7
38 changed files with 1454 additions and 206 deletions
@@ -39,7 +39,6 @@ public class BungeeMethods implements PlatformMethods {
if(playerName == null) return;
ByteArrayDataOutput out = ByteStreams.newDataOutput();
out.writeUTF(channel);
out.writeUTF(playerName);
for (String s : data) {
out.writeUTF(s);
@@ -44,7 +44,6 @@ public class VelocityMethods implements PlatformMethods {
String playerName = player.getName();
if(playerName == null) return;
out.writeUTF( channel );
out.writeUTF(playerName);
for(String s : data) {
out.writeUTF( s );
}