Fixes HurtingListener test class

This commit is contained in:
tastybento 2019-03-09 18:50:34 -08:00
parent 9f997f4548
commit a1e6f37963

View File

@ -152,6 +152,10 @@ public class HurtingListenerTest {
// Addon
when(iwm.getAddon(Mockito.any())).thenReturn(Optional.empty());
// Utils
when(Util.isPassiveEntity(Mockito.any())).thenCallRealMethod();
when(Util.isHostileEntity(Mockito.any())).thenCallRealMethod();
}
/**