Fix test.

This commit is contained in:
tastybento 2021-12-31 15:38:19 -08:00
parent 9a7cad85af
commit 0e76838721
1 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,8 @@ public class BiomeRecipeTest {
when(gh.getCeilingHeight()).thenReturn(120);
bb = new BoundingBox(10, 100, 10, 20, 120, 20);
when(gh.getBoundingBox()).thenReturn(bb);
BoundingBox ibb = bb.clone().expand(-1);
when(gh.getInternalBoundingBox()).thenReturn(ibb);
when(gh.getWorld()).thenReturn(world);
when(gh.contains(any())).thenReturn(true);
when(world.getBlockAt(anyInt(), anyInt(), anyInt())).thenReturn(block);