diff --git a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/event/PlayerResourceUpdateEvent.java b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/event/PlayerResourceUpdateEvent.java index 1b49bc4e..f0768dfa 100644 --- a/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/event/PlayerResourceUpdateEvent.java +++ b/MMOCore-API/src/main/java/net/Indyuce/mmocore/api/event/PlayerResourceUpdateEvent.java @@ -56,6 +56,10 @@ public class PlayerResourceUpdateEvent extends PlayerDataEvent implements Cancel return amount; } + public UpdateReason getReason() { + return reason; + } + /** * Changes the amount of resource given/taken away *