improved sound output of coin bomb
This commit is contained in:
parent
e41b10ccb8
commit
25fbe24d20
@ -74,6 +74,8 @@ public class ItemCoinBomb extends ItemGadget
|
||||
{
|
||||
if (Math.random() > 0.80)
|
||||
UtilFirework.playFirework(item.getLocation(), FireworkEffect.builder().flicker(false).withColor(Color.YELLOW).with(Type.BURST).trail(false).build());
|
||||
else
|
||||
item.getWorld().playSound(item.getLocation(), Sound.FIREWORK_LAUNCH, 1f, 1f);
|
||||
|
||||
Item coin = item.getWorld().dropItem(item.getLocation().add(0, 1, 0), new ItemStack(Material.getMaterial(175)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user