Skip to content

Commit

Permalink
swap volume & pitch
Browse files Browse the repository at this point in the history
  • Loading branch information
LudoCrypt committed Jan 12, 2022
1 parent d92d920 commit 5f78dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ yarn_mappings=1.18.1+build.18
loader_version=0.12.12
fabric_version=0.45.2+1.18

mod_version = 3.0.1
mod_version = 4.0.0
maven_group = net.ludocrypt
archives_base_name = limlib
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public ServerPlayerEntityMixin(World world, BlockPos pos, float yaw, GameProfile
public void limlib$moveToWorld(ServerWorld to, CallbackInfoReturnable<Entity> ci) {
Optional<SoundEvent> optional = LiminalTravelSounds.getCurrent(((ServerPlayerEntity) (Object) this).getWorld(), to);
if (optional.isPresent()) {
this.networkHandler.sendPacket(new PlaySoundS2CPacket(optional.get(), SoundCategory.AMBIENT, this.getX(), this.getY(), this.getZ(), world.getRandom().nextFloat() * 0.4F + 0.8F, 0.25F));
this.networkHandler.sendPacket(new PlaySoundS2CPacket(optional.get(), SoundCategory.AMBIENT, this.getX(), this.getY(), this.getZ(), 0.25F, world.getRandom().nextFloat() * 0.4F + 0.8F));
}
}

Expand Down

0 comments on commit 5f78dfd

Please sign in to comment.