From b32b2b6ef2629df0252cee8af5470c596ece003f Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Tue, 27 Dec 2022 09:15:41 -0500 Subject: [PATCH] Change view effect event --- .../events/quester/QuesterPostViewEffectEvent.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/me/blackvein/quests/events/quester/QuesterPostViewEffectEvent.java b/core/src/main/java/me/blackvein/quests/events/quester/QuesterPostViewEffectEvent.java index 468db560d..95d419bc8 100644 --- a/core/src/main/java/me/blackvein/quests/events/quester/QuesterPostViewEffectEvent.java +++ b/core/src/main/java/me/blackvein/quests/events/quester/QuesterPostViewEffectEvent.java @@ -20,13 +20,13 @@ import java.util.UUID; public class QuesterPostViewEffectEvent extends QuesterEvent { private static final HandlerList HANDLERS = new HandlerList(); - private final UUID entity; + private final UUID id; private final String effect; private final boolean redoable; - public QuesterPostViewEffectEvent(final Quester quester, UUID entity, String effect, boolean redoable) { + public QuesterPostViewEffectEvent(final Quester quester, UUID id, String effect, boolean redoable) { super(quester); - this.entity = entity; + this.id = id; this.effect = effect; this.redoable = redoable; } @@ -36,8 +36,8 @@ public class QuesterPostViewEffectEvent extends QuesterEvent { * * @return UUID of entity who is involved in this event */ - public UUID getEntity() { - return entity; + public UUID getEntityId() { + return id; } /**