diff --git a/Automate/Framework/Machines/Objects/CrabPotMachine.cs b/Automate/Framework/Machines/Objects/CrabPotMachine.cs index 44bb431d0..cd4450674 100644 --- a/Automate/Framework/Machines/Objects/CrabPotMachine.cs +++ b/Automate/Framework/Machines/Objects/CrabPotMachine.cs @@ -43,7 +43,7 @@ public override MachineState GetState() { MachineState state = this.GetGenericState(); - if (state == MachineState.Empty && (this.Machine.bait.Value != null || !this.PlayerNeedsBait(this.GetOwner()))) + if (state == MachineState.Empty && !this.Machine.NeedsBait(null)) state = MachineState.Processing; return state; @@ -135,11 +135,4 @@ private void Reset(Item item) pot.shake = Vector2.Zero; pot.shakeTimer = 0f; } - - /// Get whether the current player needs to bait crab pots. - /// The player who owns the machine. - private bool PlayerNeedsBait(Farmer owner) - { - return !owner.professions.Contains(Farmer.mariner); // no bait needed if luremaster - } }