import IMMOClientMutator from "../../../mmocore/IMMOClientMutator" ; import GameClient from "../../GameClient" ; import TargetUnselected from "../../incoming/game/TargetUnselected" ; export default class TargetUnselectedMutator extends IMMOClientMutator < GameClient , TargetUnselected > { update ( packet ) { const char = this . Client . CreaturesList . getEntryByObjectId ( packet . ObjectId ) ; if ( char ) { char . Target = null ; } } }