mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-01-02 06:08:46 +01: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