public static void registerPacket(short id, NetworkPacket packet) {
NetworkConfig.packetManager.registerPacket(id, packet);
}
public static void registerPacket(short id, Class type, String description) {
NetworkConfig.packetManager.registerPacket(id, new NetworkObject(id,
type).setDescription(description));
}