Fix test. Avoid ambiguity.

This commit is contained in:
tastybento 2022-02-19 11:34:27 -08:00
parent e2b779a9cb
commit d64be1c518
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ public class GreenhouseEventsTest {
ghe.onIceBreak(e);
verify(block).setType(Material.AIR);
assertTrue(e.isCancelled());
verify(world).playSound(any(), eq(Sound.BLOCK_GLASS_BREAK), eq(1F), eq(1F));
verify(world).playSound(any(Location.class), eq(Sound.BLOCK_GLASS_BREAK), eq(1F), eq(1F));
}