mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-25 12:15:59 +01:00
Change view effect event
This commit is contained in:
parent
fd40f15b8b
commit
b32b2b6ef2
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user