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

During an EntityDamageEvent with damage from blocks, damaging any entity throws an error

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • [Server thread/INFO]: This server is running CraftBukkit version 3178-Spigot-eac3cd9-a6292cc (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT)
    • Yes

    Description

      When taking damage from a Cactus or a Magma Block, calling the damage function (Damageable (Spigot-API 1.17.1-R0.1-SNAPSHOT API) (spigotmc.org)) during the EntityDamageEvent will print an error.

      I have attached a blockdamagetest plugin that provides this, to replicate, load this up on a server, place down a magma block or a cactus, and take damage from it. I have also attached the output of the error for convenience.

      Update: I have attached a slightly modified version of the plugin that is less buggy and prone to murdering you a bunch because I forgot an if statement. This still produces the same error.

      Attachments

        Issue Links

          Activity

            People

              DerFrZocker Marvin Rieple
              ArcaneWarrior Arcane Warrior
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: