Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7363

hurt() method in LivingEntity lacks ClientboundSetEntityMotionPacket sent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version 3760-Spigot-7d7b241-1f2dd8e (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
    • Yes

      hurt() method will call the knockback() method, but it doesnt send ClientboundSetEntityMotionPacket to the victim player's client. This will make the knock back from another entity (which is not LivingEntity, such as Arrow) too small.

      Player attacks player causing correct knock back effect because there is a ClientboundSetEntityMotionPacket which is sent after the knockback() is called.

            Unassigned Unassigned
            LoliColleen Kami Rori
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: