mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2025-01-26 22:21:40 +01:00
Prefix accessor with mixin
This commit is contained in:
parent
e42ddfe5b4
commit
06ec8e26c1
@ -49,8 +49,8 @@ public abstract class MixinWorldPackets1_19 {
|
|||||||
final var action = data.readEnumConstant(PlayerActionC2SPacket.Action.class);
|
final var action = data.readEnumConstant(PlayerActionC2SPacket.Action.class);
|
||||||
final var allGood = data.readBoolean();
|
final var allGood = data.readBoolean();
|
||||||
|
|
||||||
final IClientPlayerInteractionManager interactionManager = (IClientPlayerInteractionManager) MinecraftClient.getInstance().interactionManager;
|
final var mixinInteractionManager = (IClientPlayerInteractionManager) MinecraftClient.getInstance().interactionManager;
|
||||||
interactionManager.viaFabricPlus$get1_18_2InteractionManager().handleBlockBreakAck(pos, blockState, action, allGood);
|
mixinInteractionManager.viaFabricPlus$get1_18_2InteractionManager().handleBlockBreakAck(pos, blockState, action, allGood);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
throw new RuntimeException("Failed to handle BlockBreakAck packet data", t);
|
throw new RuntimeException("Failed to handle BlockBreakAck packet data", t);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user