mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-06-22 12:44:51 +02:00
This commit removes the org.JSON library where alternatives are already provided (Bungee & Bukkit provide Gson). This change was made to improve compatability with BungeeCord plugins and reduce file sizes. This means big changes to the SubData API, which heavily relied on org.JSON. Now we submit our data through YAMLSection to be converted and sent over the network.
28 lines
590 B
Java
28 lines
590 B
Java
package net.ME1312.SubServers.Host.Network.Packet;
|
|
|
|
import net.ME1312.SubServers.Host.Library.Config.YAMLSection;
|
|
import net.ME1312.SubServers.Host.Library.Version.Version;
|
|
import net.ME1312.SubServers.Host.Network.PacketOut;
|
|
|
|
/**
|
|
* Queue Request Packet
|
|
*/
|
|
public class PacketOutExRequestQueue implements PacketOut {
|
|
|
|
/**
|
|
* New PacketOutExRequestQueue
|
|
*/
|
|
public PacketOutExRequestQueue() {
|
|
}
|
|
|
|
@Override
|
|
public YAMLSection generate() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public Version getVersion() {
|
|
return new Version("2.11.0a");
|
|
}
|
|
}
|