Added method to PlayerResourceUpdateEvent

This commit is contained in:
Jules 2023-01-11 16:38:49 +01:00
parent 98cfda4cfe
commit d4a5011b41

View File

@ -56,6 +56,10 @@ public class PlayerResourceUpdateEvent extends PlayerDataEvent implements Cancel
return amount; return amount;
} }
public UpdateReason getReason() {
return reason;
}
/** /**
* Changes the amount of resource given/taken away * Changes the amount of resource given/taken away
* *