mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-03 03:31:32 +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);
|
PlatformBlockState state = mock(PlatformBlockState.class);
|
||||||
doReturn(key).when(state).key();
|
doReturn(key).when(state).key();
|
||||||
doReturn(solid).when(state).isSolid();
|
doReturn(solid).when(state).isSolid();
|
||||||
|
doReturn(key.equals("minecraft:sand")).when(state).hasGravity();
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user