mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 00:34:19 +00:00
Let the cave application test's block mocks answer hasGravity
This commit is contained in:
1 parent
cf53a54324
commit
d57f3cd39c
1 file changed
+1
+1
@@ -124,6 +124,7 @@ public class CaveApplyingBoundarySupportTest {
|
||||
PlatformBlockState state = mock(PlatformBlockState.class);
|
||||
doReturn(key).when(state).key();
|
||||
doReturn(solid).when(state).isSolid();
|
||||
doReturn(key.equals("minecraft:sand")).when(state).hasGravity();
|
||||
return state;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user