File tree Expand file tree Collapse file tree
Automate/Framework/Machines/Objects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public override MachineState GetState()
4343 {
4444 MachineState state = this . GetGenericState ( ) ;
4545
46- if ( state == MachineState . Empty && ( this . Machine . bait . Value != null || ! this . PlayerNeedsBait ( this . GetOwner ( ) ) ) )
46+ if ( state == MachineState . Empty && ! this . Machine . NeedsBait ( null ) )
4747 state = MachineState . Processing ;
4848
4949 return state ;
@@ -135,11 +135,4 @@ private void Reset(Item item)
135135 pot . shake = Vector2 . Zero ;
136136 pot . shakeTimer = 0f ;
137137 }
138-
139- /// <summary>Get whether the current player needs to bait crab pots.</summary>
140- /// <param name="owner">The player who owns the machine.</param>
141- private bool PlayerNeedsBait ( Farmer owner )
142- {
143- return ! owner . professions . Contains ( Farmer . mariner ) ; // no bait needed if luremaster
144- }
145138}
You can’t perform that action at this time.
0 commit comments