mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-22 00:58:04 +01:00
Make flag explicitly set to false for test.
This commit is contained in:
parent
d383bf9231
commit
bc1a73975e
@ -177,6 +177,7 @@ public class ChestDamageListenerTest {
|
|||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testOnExplosionChestDamageNotAllowed() {
|
public void testOnExplosionChestDamageNotAllowed() {
|
||||||
|
Flags.CHEST_DAMAGE.setSetting(world, false);
|
||||||
Entity entity = mock(Entity.class);
|
Entity entity = mock(Entity.class);
|
||||||
when(entity.getType()).thenReturn(EntityType.PRIMED_TNT);
|
when(entity.getType()).thenReturn(EntityType.PRIMED_TNT);
|
||||||
List<Block> list = new ArrayList<>();
|
List<Block> list = new ArrayList<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user