public void requestStats(ConnectedPlayer sender, MessageRequestStats msg) { UnitBase unit = this.map.findMapObjectFromGuid <UnitBase>(msg.unitGuid); if (unit != null) { sender.sendMessage(new MessageShowStatsGui(unit, unit.unitStats)); } }