public void registerPacket(Class<? extends Packet> packet) {
		try {
			this.mapPacket.put((String) packet.getField(PACKET_ID).get(null), packet);
		} catch (IllegalArgumentException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (NoSuchFieldException e) {
			e.printStackTrace();
		} catch (SecurityException e) {
			e.printStackTrace();
		}
	}