Skip to content

Commit 9f57dba

Browse files
committed
use Correct pitch.
1 parent d751539 commit 9f57dba

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/java/generations/gg/generations/core/generationscore/common/world/level/block

1 file changed

+1
-1
lines changed

common/src/main/java/generations/gg/generations/core/generationscore/common/world/level/block/ElevatorBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void takeElevator(BlockGetter world, BlockPos pos, ServerPlayer player, D
5353
ElevatorEvents.USE_ELEVATOR.invoker().accept(useElevator);
5454
return useElevator;
5555
}).map(ElevatorEvents.UseElevator::getDestination).filter(Objects::nonNull).map(BlockPos::above).ifPresent(blockPos -> {
56-
player.serverLevel().playSound(null, blockPos, GenerationsSounds.ELEVATOR.get(), SoundSource.BLOCKS, 0.5f, 0.0f);
56+
player.serverLevel().playSound(null, blockPos, GenerationsSounds.ELEVATOR.get(), SoundSource.BLOCKS, 0.5f, 1.0f);
5757
player.teleportTo(player.position().x(), blockPos.getY() - 0.5, player.position().z());
5858
});
5959
}

0 commit comments

Comments
 (0)