Apply sign work zones before candidate routing
This commit is contained in:
@@ -30,7 +30,8 @@ class GatherWartStates:
|
||||
|
||||
mature_wart = max(blocks.NETHERWART_IDS)
|
||||
for wart in w.find_blocks_3d(p, [mature_wart], 50, 20, True):
|
||||
if wart not in self.bad_warts:
|
||||
if (wart not in self.bad_warts and
|
||||
w.work_position_allowed(wart)):
|
||||
break
|
||||
else: # for
|
||||
print('No good warts left, aborting.')
|
||||
|
||||
Reference in New Issue
Block a user