mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-30 13:07:46 +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
|
||||
public void testOnExplosionChestDamageNotAllowed() {
|
||||
Flags.CHEST_DAMAGE.setSetting(world, false);
|
||||
Entity entity = mock(Entity.class);
|
||||
when(entity.getType()).thenReturn(EntityType.PRIMED_TNT);
|
||||
List<Block> list = new ArrayList<>();
|
||||
|
Loading…
Reference in New Issue
Block a user