mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-31 11:35:28 +02:00
Trigger change event for party create/disband (#4620)
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user