From bcdd9afe3eb2cc35238bedb3d874620077d2328b Mon Sep 17 00:00:00 2001 From: LudoCrypt <60561627+LudoCrypt@users.noreply.github.com> Date: Mon, 10 Jan 2022 15:24:16 -0600 Subject: [PATCH] stupid --- gradle.properties | 2 +- .../net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index c0ea748..846ec17 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 = 1.1.2 +mod_version = 1.1.3 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 8c39baa..05e7625 100644 --- a/src/main/java/net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java +++ b/src/main/java/net/ludocrypt/limlib/mixin/ServerPlayerEntityMixin.java @@ -29,7 +29,7 @@ public ServerPlayerEntityMixin(World world, BlockPos pos, float yaw, GameProfile super(world, pos, yaw, profile); } - @Inject(method = "moveToWorld", at = @At("RETURN"), locals = LocalCapture.CAPTURE_FAILHARD) + @Inject(method = "moveToWorld", at = @At(value = "RETURN", ordinal = 1), locals = LocalCapture.CAPTURE_FAILHARD) public void limlib$moveToWorld(ServerWorld to, CallbackInfoReturnable ci, ServerWorld from, RegistryKey fromKey) { PacketByteBuf buf = PacketByteBufs.create(); buf.writeIdentifier(LiminalTravelSounds.getCurrent(to.getRegistryKey()).getSound(from, to).getId());