Moved lock response event

This commit is contained in:
2022-11-17 18:57:01 +01:00
parent bf8890f3e9
commit e76bd6f5bb
@@ -1,42 +0,0 @@
package com.alttd.datalock;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
public class LockResponseEvent extends Event {
private final HandlerList handlers = new HandlerList();
private final String channel;
private final ResponseType responseType;
private final String data;
private final boolean result;
protected LockResponseEvent(boolean isAsync, String channel, ResponseType responseType, String data, boolean result) {
super(isAsync);
this.channel = channel;
this.responseType = responseType;
this.data = data;
this.result = result;
}
public String getChannel() {
return channel;
}
public ResponseType getResponseType() {
return responseType;
}
public String getData() {
return data;
}
public boolean getResult() {
return result;
}
public @NotNull HandlerList getHandlers() {
return handlers;
}
}