mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 19:25:12 +01:00
Fixes HurtingListener test class
This commit is contained in:
parent
9f997f4548
commit
a1e6f37963
@ -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();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user