Port nether wart farming to 26.3

This commit is contained in:
Tanner
2026-11-07 17:25:51 +00:00
parent 9251edc36a
commit 95f4aa4821
7 changed files with 237 additions and 57 deletions
+2 -1
View File
@@ -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)