diff --git a/bin/main/dev/resent/event/impl/EntityStatusEvent.class b/bin/main/dev/resent/event/impl/EntityStatusEvent.class index 9aff1c77..4b9d6dd4 100644 Binary files a/bin/main/dev/resent/event/impl/EntityStatusEvent.class and b/bin/main/dev/resent/event/impl/EntityStatusEvent.class differ diff --git a/bin/main/net/minecraft/network/play/server/S19PacketEntityStatus.class b/bin/main/net/minecraft/network/play/server/S19PacketEntityStatus.class index a70a717a..ed661b38 100644 Binary files a/bin/main/net/minecraft/network/play/server/S19PacketEntityStatus.class and b/bin/main/net/minecraft/network/play/server/S19PacketEntityStatus.class differ diff --git a/src/main/java/dev/resent/event/impl/EntityStatusEvent.java b/src/main/java/dev/resent/event/impl/EntityStatusEvent.java index 46ca58f2..0064f94c 100644 --- a/src/main/java/dev/resent/event/impl/EntityStatusEvent.java +++ b/src/main/java/dev/resent/event/impl/EntityStatusEvent.java @@ -1,13 +1,13 @@ package dev.resent.event.impl; -import net.minecraft.src.Packet38EntityStatus; +import net.minecraft.network.play.server.S19PacketEntityStatus; public class EntityStatusEvent extends Event{ public byte status; - public EntityStatusEvent(Packet38EntityStatus event){ - this.status = event.entityStatus; + public EntityStatusEvent(S19PacketEntityStatus event){ + this.status = event.logicOpcode; } } \ No newline at end of file diff --git a/src/main/java/net/minecraft/network/play/server/S19PacketEntityStatus.java b/src/main/java/net/minecraft/network/play/server/S19PacketEntityStatus.java index ba978bb5..68a98919 100644 --- a/src/main/java/net/minecraft/network/play/server/S19PacketEntityStatus.java +++ b/src/main/java/net/minecraft/network/play/server/S19PacketEntityStatus.java @@ -28,7 +28,7 @@ import net.minecraft.world.World; */ public class S19PacketEntityStatus implements Packet { private int entityId; - private byte logicOpcode; + public byte logicOpcode; public S19PacketEntityStatus() { }