Make flag explicitly set to false for test.

This commit is contained in:
tastybento 2018-07-29 13:58:12 -07:00
parent d383bf9231
commit bc1a73975e

View File

@ -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<>();