mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-28 12:56:51 +01:00
Fix runtime error and remap warning
This commit is contained in:
parent
d4a689ccc3
commit
41497395b7
@ -117,7 +117,7 @@ public abstract class MixinClientPlayNetworkHandler extends ClientCommonNetworkH
|
||||
}
|
||||
}
|
||||
|
||||
@Redirect(method = "onSignEditorOpen", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V"))
|
||||
@Redirect(method = "onSignEditorOpen", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V", remap = false))
|
||||
private void openEmptySignEditor(Logger instance, String format, Object arg1, Object arg2, @Local(argsOnly = true) SignEditorOpenS2CPacket packet) {
|
||||
if (ProtocolTranslator.getTargetVersion().olderThanOrEqualTo(ProtocolVersion.v1_21)) {
|
||||
final BlockPos pos = packet.getPos();
|
||||
|
@ -96,7 +96,6 @@
|
||||
"fixes.minecraft.block.MixinPistonHeadBlock",
|
||||
"fixes.minecraft.block.MixinSnowBlock",
|
||||
"fixes.minecraft.block.MixinSoulSandBlock",
|
||||
"fixes.minecraft.block.MixinVaultBlock",
|
||||
"fixes.minecraft.block.MixinWallBlock",
|
||||
"fixes.minecraft.entity.MixinAbstractBoatEntity",
|
||||
"fixes.minecraft.entity.MixinAbstractClientPlayerEntity",
|
||||
|
Loading…
Reference in New Issue
Block a user