Class<? extends Packet> packetClass = (Class<? extends Packet>) packets[packetId];
if (packetClass == null) {
return null;
}
Constructor<? extends Packet> c = packetClass.getConstructor(new Class[]{});
Packet r = c.newInstance(blank);
return newInstance(packetId, r);
} catch (SecurityException e) {
throw new RuntimeException(e);
} catch (NoSuchMethodException e) {