Trigger change event for party create/disband (#4620)

This commit is contained in:
PikaMug
2021-09-22 18:05:41 -04:00
committed by GitHub
parent 280eb0ba51
commit 162c605dac
3 changed files with 31 additions and 5 deletions

View File

@@ -53,6 +53,16 @@ public class McMMOPartyChangeEvent extends PlayerEvent implements Cancellable {
* A list of reasons why the event may have been fired
*/
public enum EventReason {
/**
* Created a party.
*/
CREATED_PARTY,
/**
* Disbanded a party.
*/
DISBANDED_PARTY,
/**
* Joined a party for the first time.
*/