Open kksym opened 8 years ago
Hmm, so as LOWEST priority this event would only potentially be superseded by another plugin having the same event trapped at also LOWEST priority.
More likely is that another plugin is overriding the changes Humbug is making here then that Cancelled is involved (as when this is called, again, it is unlikely any other handler has been called, so the event will never have been cancelled).
This due to Bukkit running events in reverse priority -- LOWEST is first, MONITOR is last.
Go from 7 hearts down to 3 hearts on one hit.
Wish I knew exact date and time on that (in server timezone) so I could pull the 2.0 logs and see if anything pops up on console (exception, etc).
19 September 2015, 00:45:29 GMT was the time the video was recorded.
Given that the video would of finished, the event happened 50 minutes from the end meaning at roughly 18 September 2015 11:55:00 GMT is a rough idea.
I'll see what I can find / have access to.
https://github.com/Civcraft/Humbug/blob/master/src/main/java/com/untamedears/humbug/Humbug.java#L1761
ignoreCancelled = true
Possible cause of the 4-heart bug? If under a certain condition the event is cancelled (doesn't appear to ever be cancelled in Humbug however) and the event is uncancelled after the strength reversions were supposed to apply, presumably the damage would be vanilla. I have no idea which plugins may fiddle with EntityDamageByEntity events (possibly NoCheatPlus/CombatTag/private server-side anticheat thingy), but unless I'm missing something very obvious, it seems plausible.