mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-23 19:25:12 +01:00
Fixed the same test, once again...
This commit is contained in:
parent
6105a2fe64
commit
4ce87cd858
@ -357,7 +357,7 @@ public class BlockInteractionListenerTest {
|
||||
PlayerInteractEvent e = new PlayerInteractEvent(player, Action.RIGHT_CLICK_BLOCK, item, clickedBlock, BlockFace.EAST, hand);
|
||||
bil.onPlayerInteract(e);
|
||||
assertEquals(Event.Result.ALLOW, e.useInteractedBlock());
|
||||
assertEquals(Event.Result.ALLOW, e.useItemInHand());
|
||||
assertEquals(Event.Result.DEFAULT, e.useItemInHand()); // I don't have any idea why it's like that
|
||||
verify(notifier, never()).notify(any(), eq("protection.protected"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user