mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	Wait until the turtle has gone in explosion tests
Rather than a fixed delay. This should help when turtle tasks are running a little slow.
This commit is contained in:
		| @@ -701,7 +701,7 @@ class Turtle_Test { | ||||
|     @GameTest | ||||
|     fun Breaks_exploding_block(context: GameTestHelper) = context.sequence { | ||||
|         thenOnComputer { turtle.dig(Optional.empty()) } | ||||
|         thenIdle(2) | ||||
|         thenWaitUntil { context.assertBlockPresent(Blocks.AIR, BlockPos(2, 2, 2)) } | ||||
|         thenExecute { | ||||
|             context.assertItemEntityCountIs(ModRegistry.Items.TURTLE_NORMAL.get(), 1) | ||||
|             context.assertItemEntityCountIs(Items.BONE_BLOCK, 65) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jonathan Coates
					Jonathan Coates