// // only execute on button/key release
if (!isPressed) {
ClientFacade f = Singleton.get().getClientFacade();
TargetComponent com = (TargetComponent) Singleton.get().getEntityManager().getComponent(f.getCharHandler().getSelectedObjectId(), TargetComponent.class);
if(com != null){
GameClientPacket p = new AttackRequest(com.getCurrentTarget(), com.pos.x, com.pos.y, com.pos.z, false, false);
f.sendGamePacket(p);
}
}
}