diff --git a/gradle.properties b/gradle.properties index 64f4700..8c88f51 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/main/java/net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java b/src/main/java/net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java index e1ec058..e49e156 100644 --- a/src/main/java/net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java +++ b/src/main/java/net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java @@ -38,7 +38,7 @@ public ServerPlayerEntityMixin(World world, BlockPos pos, float yaw, GameProfile public void limlib$moveToWorld(ServerWorld to, CallbackInfoReturnable ci) { Optional 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)); } }