From 0e7683872109b4dc9c1a46366a29b204db26a9a7 Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 31 Dec 2021 15:38:19 -0800 Subject: [PATCH] Fix test. --- .../world/bentobox/greenhouses/greenhouse/BiomeRecipeTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/world/bentobox/greenhouses/greenhouse/BiomeRecipeTest.java b/src/test/java/world/bentobox/greenhouses/greenhouse/BiomeRecipeTest.java index aea2889..8df65c1 100644 --- a/src/test/java/world/bentobox/greenhouses/greenhouse/BiomeRecipeTest.java +++ b/src/test/java/world/bentobox/greenhouses/greenhouse/BiomeRecipeTest.java @@ -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);