public static Packet getNewPacket(int packetID) {
		if (packetID < 0 || packetID >= packets.length || packets[packetID] == null)
			return null;
		try {
			return (Packet) packets[packetID].newInstance();
		} catch (Exception e) {
			return null;
		}
	}