You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A player destroying a boat with a fire aspect weapon should still show the attacker as the player
Observed/Actual behavior
If you destroy a boat with a fire aspect weapon, the e.getAttacker() in the VehicleDestroyEvent is null. This makes it impossible to get the player from this event if they use fire aspect
Steps/models to reproduce
Destroy boat with fire aspect weapon
See how the e.getAttacker() is null
Plugin and Datapack List
N/A
Paper version
This server is running Paper version 1.21.1-132-ver/1.21.1@b48403b (2024-11-21T10:14:27Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.1-DEV-164e116 (MC: 1.21.1)
Other
No response
The text was updated successfully, but these errors were encountered:
Fire Aspect call a ignite effect for well apply the fire.. this call EntityCombustEvent/EntityCombustByEntityEvent where the author is send (for the ByEntity) later when damage the entity the "damager" its not passed then when comes to the place where VehicleDestroyEvent is called the damager its not the player....
i dont find a nice way to make the call of damage for fire also know the damager... (or can add a extra field in entity for save the damager in this case and clear when the fire is clear... but still not clean)
Expected behavior
A player destroying a boat with a fire aspect weapon should still show the attacker as the player
Observed/Actual behavior
If you destroy a boat with a fire aspect weapon, the e.getAttacker() in the VehicleDestroyEvent is null. This makes it impossible to get the player from this event if they use fire aspect
Steps/models to reproduce
Plugin and Datapack List
N/A
Paper version
This server is running Paper version 1.21.1-132-ver/1.21.1@b48403b (2024-11-21T10:14:27Z) (Implementing API version 1.21.1-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.1-DEV-164e116 (MC: 1.21.1)
Other
No response
The text was updated successfully, but these errors were encountered: