mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2026-01-06 15:41:56 +00:00
General cleanup and optimisations
This commit is contained in:
@@ -2,7 +2,10 @@ package net.william278.husksync.event;
|
||||
|
||||
public interface CancellableEvent extends Event {
|
||||
|
||||
boolean isCancelled();
|
||||
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
|
||||
default boolean isCancelled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void setCancelled(boolean cancelled);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user