public DeliverPlateAction(PlayerControls player, ClientPlate plate) { this.player = player; state = 0; Logger.Log("DeliverPlateAction instantiated"); if (ComponentUtil.IsPlateOnComponent(plate)) { currentAction = new PathFindAction(player, ComponentUtil.GetPlateLocationComponent(plate)); } else { currentAction = new PathFindAction(player, plate); } }