Fix wood farming and block breaking stalls
This commit is contained in:
1 parent
8ada31a918
commit
99bb5c98de
4 files changed
+70
-3
No files matched your search
@@ -62,7 +62,9 @@ class BlockBreakTimingTests(unittest.TestCase):
|
||||
|
||||
with patch('mosfet.game.time.monotonic', return_value=100.0):
|
||||
self.assertTrue(game.break_block((0, 64, 0)))
|
||||
self.assertAlmostEqual(game.break_deadline, 100.3)
|
||||
self.assertAlmostEqual(
|
||||
game.break_deadline,
|
||||
100.3 + game.BREAK_FINISH_GRACE)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in new issue
Block a user