This commit is contained in:
zimzaza4
2024-07-19 15:44:32 +08:00
parent 87b2f6d398
commit 678b273f8c
2 changed files with 16 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ public class EntityHurtAnimationPacket implements WrapperPacket {
public PacketContainer encode() {
PacketContainer packet = new PacketContainer(PacketType.Play.Server.HURT_ANIMATION);
packet.getIntegers().write(0, id);
packet.getFloat().write(0, 1f);
packet.getFloat().write(0, 5f);
return packet;
}
}