[SPIGOT-6639] During an EntityDamageEvent with damage from blocks, damaging any entity throws an error Created: 11/Jul/21 Updated: 22/Jan/22 Resolved: 22/Jan/22 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Arcane Warrior | Assignee: | Marvin Rieple |
Resolution: | Fixed | Votes: | 0 |
Labels: | bug |
Attachments: |
![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Version: | [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) | ||||||||
Guidelines Read: | 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. |
Comments |
Comment by Marvin Rieple [ 22/Jan/22 ] |
Made a PR for this: craftbukkit#996 |
Comment by Ollie [ 08/Oct/21 ] |
Fix: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/935/overview |