Skip to content
Success

Changes

Summary

  1. Fix exceptions on EntityCombustByEntityEvent, EntityDamageByEntityEvent, PartyAutoKickTask if parties are disabled (#4976) (commit: 7f9ed94) (details)
Commit 7f9ed94d23311553c5d81da0edb0469a5fe95363 by github
Fix exceptions on EntityCombustByEntityEvent, EntityDamageByEntityEvent, PartyAutoKickTask if parties are disabled (#4976)

* Only run EntityListener#checkParties on EntityCombustByEntityEvent if Parties are enabled

* Only run PartyAutoKickTask Task if Parties are enabled

* Only run EntityListener#checkParties on EntityDamageByEntityEvent if Parties are enabled

* Check if Parties are enabled before running inSameParty in CombatUtils#processCombatXP

---------

Co-authored-by: Dieu <info@l4b.org>
(commit: 7f9ed94)
The file was modified src/main/java/com/gmail/nossr50/listeners/EntityListener.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/mcMMO.java (diff)