Port nether wart farming to 26.3
This commit is contained in:
+2
-1
@@ -62,7 +62,8 @@ FARMING_PITCH = 45.0
|
||||
|
||||
def pitch_lock_for_job(job_state):
|
||||
state = getattr(job_state, 'state', None) if job_state else None
|
||||
return (FARMING_PITCH if getattr(state, '__name__', None) == 'farm_crop'
|
||||
return (FARMING_PITCH
|
||||
if getattr(state, '__name__', None) in ('farm_crop', 'farm_wart')
|
||||
else None)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user