3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 14:50:08 +01:00
Paper/src/main/java/org
t00thpick1 6f21d3ca8f [Bleeding] Implement new damage api. Fixes BUKKIT-5326, BUKKIT-3878.
This commit centralizes event handling to where damage is actually applied
to the entity to avoid bugs that have resulted from nodamageticks,
modifications to damage after the event has been called, and similar
mishaps. This also implements new API for getting and setting of
modifications made to the damage amount actually applied to the entity.
This is done by storing the change in the damage amount as each modifier
is applied by vanilla code.

The method that actually damages the armor worn by an entity has been
relocated beneath the event called as to not apply durability loss when
the event has been cancelled.
2014-06-22 15:23:16 -05:00
..
apache/logging/log4j/core/appender Catch all exceptions in jansi initialization. Fixes BUKKIT-4936 2013-12-02 15:46:34 -06:00
bukkit/craftbukkit [Bleeding] Implement new damage api. Fixes BUKKIT-5326, BUKKIT-3878. 2014-06-22 15:23:16 -05:00