mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed sound effect still not playing when dinging celestia
This commit is contained in:
parent
af76a4fef6
commit
48b3e1a34c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class DragonBreathScrollItem extends Item {
|
|||
if (count == 1 && "dings_on_celestias_head".equals(counterName)) {
|
||||
UnicopiaWorldProperties properties = UnicopiaWorldProperties.forWorld((ServerWorld)world);
|
||||
properties.setTangentalSkyAngle(properties.getTangentalSkyAngle() + 15);
|
||||
world.playSound(null, player.getBlockPos(), USounds.Vanilla.BLOCK_ANVIL_HIT, SoundCategory.NEUTRAL, 0.3F, 1);
|
||||
world.playSound(null, player.getBlockPos(), USounds.Vanilla.BLOCK_ANVIL_LAND, SoundCategory.NEUTRAL, 0.2F, (float)world.random.nextTriangular(1, 0.2F));
|
||||
}
|
||||
});
|
||||
DragonBreathStore.get(world).put(recipient, payload.split(1));
|
||||
|
|
Loading…
Reference in a new issue