Cache after sleep near labeled chests

This commit is contained in:
Tanner
2026-11-08 17:08:12 +00:00
parent 930f4f3868
commit c79ee932a3
6 changed files with 166 additions and 10 deletions
+3 -1
View File
@@ -29,9 +29,11 @@ class SignWorkTargetTests(unittest.TestCase):
return crop_state
state = GatherCropStates(Munch(world=FakeWorld(), pos=(0, 64, 0)))
state.completed_crops = 7
state.find_new_crop()
self.assertIs(state.state.__func__, state.wait_for_crops.__func__)
self.assertIs(state.state.__func__, state.cleanup.__func__)
self.assertEqual(state.completed_crops, 0)
self.assertEqual(state.bad_crops, [])
def test_tree_search_skips_out_of_bounds_tree_without_blacklisting_it(self):