Add Packet

This commit is contained in:
RayzsYT committed 2024-05-29 10:45:38 +02:00
1 parent 38854e9e33
commit 12d6bfcd8b
1 file changed
+13
@@ -95,6 +95,19 @@ public class PacketUtil {
}
}
public static class ForcePermissionResetPacket implements Serializable {
private final String proxyToken;
public ForcePermissionResetPacket(String proxyToken) {
this.proxyToken = proxyToken;
}
public boolean isToken(String token) {
return proxyToken.equals(token);
}
}
public static class PacketBundle implements CommunicationPacket, Serializable {
private final CommandsPacket commandsPacket;