public void FindObjectById(CommandParams param) { PositionedObject po = Map.FindObjectById(param.GetString()); if (po == null) { throw new PTMException("Object not found with id: " + param); } TargetObject = po.Position; }
public void FindObjectById(CommandParams param) { PositionedObject po = Map.FindObjectById(param.GetString()); if (po == null) { throw new PTMException("Object not found with id: " + param); } TargetObject = po.Position; }