FINALLY got stuff working, lol
This commit is contained in:
parent
9aed953f22
commit
49130736df
8 changed files with 114 additions and 97 deletions
|
@ -1,29 +0,0 @@
|
|||
package net.saltymc.eaa.util;
|
||||
|
||||
public class ResponseEntity {
|
||||
|
||||
private boolean interceptEvent;
|
||||
private final boolean wasHandled;
|
||||
|
||||
public ResponseEntity(boolean wasHandled){
|
||||
this.wasHandled = wasHandled;
|
||||
}
|
||||
|
||||
public ResponseEntity(boolean wasHandled, boolean interceptEvent){
|
||||
this.wasHandled = wasHandled;
|
||||
this.interceptEvent = interceptEvent;
|
||||
}
|
||||
|
||||
|
||||
public boolean isInterceptEvent() {
|
||||
return interceptEvent;
|
||||
}
|
||||
|
||||
public void setInterceptEvent(boolean interceptEvent) {
|
||||
this.interceptEvent = interceptEvent;
|
||||
}
|
||||
|
||||
public boolean isWasHandled() {
|
||||
return wasHandled;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue