aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java
diff options
context:
space:
mode:
authorThatGravyBoat <gravyboat211@gmail.com>2021-02-10 08:46:58 -0330
committerThatGravyBoat <gravyboat211@gmail.com>2021-02-10 08:46:58 -0330
commit0ee60ad03b55ca65bc76134062532c92065e9357 (patch)
tree480bf4f555440e5955697441e349a271a1d2012b /src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java
parentada86e95cc85700ca39022ac25eeb32febaaa2fb (diff)
parent52c6dabe58005aa5a7fc5809512bd8cf4ad4f97f (diff)
downloadnotenoughupdates-0ee60ad03b55ca65bc76134062532c92065e9357.tar.gz
notenoughupdates-0ee60ad03b55ca65bc76134062532c92065e9357.tar.bz2
notenoughupdates-0ee60ad03b55ca65bc76134062532c92065e9357.zip
Merge branch 'master' of https://github.com/ThatGravyboat/NotEnoughUpdates
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java
index 5cb2dc8d..10509dd1 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/mixins/MixinNetHandlerPlayClient.java
@@ -2,10 +2,12 @@ package io.github.moulberry.notenoughupdates.mixins;
import io.github.moulberry.notenoughupdates.miscfeatures.*;
import io.github.moulberry.notenoughupdates.NotEnoughUpdates;
+import io.github.moulberry.notenoughupdates.util.SBInfo;
import net.minecraft.client.network.NetHandlerPlayClient;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.network.Packet;
import net.minecraft.network.play.client.C13PacketPlayerAbilities;
+import net.minecraft.network.play.server.S03PacketTimeUpdate;
import net.minecraft.network.play.server.S23PacketBlockChange;
import net.minecraft.network.play.server.S2FPacketSetSlot;
import net.minecraft.network.play.server.S39PacketPlayerAbilities;
@@ -19,7 +21,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(NetHandlerPlayClient.class)
public class MixinNetHandlerPlayClient {
-
private static final String TARGET = "Lnet/minecraft/entity/player/EntityPlayer;" +
"setPositionAndRotation(DDDFF)V";
@Redirect(method="handlePlayerPosLook", at=@At(value="INVOKE", target=TARGET))