Make TeleportEvent cancellable

This commit is contained in:
William278 committed 2023-03-24 12:34:18 +00:00
1 parent e8e9b1ffb9
commit 8d8420541d
2 files changed
+13 -2

No files matched your search

@@ -6,7 +6,7 @@ import org.jetbrains.annotations.NotNull;
/**
* Representation of an event that fires when a teleport is about to occur
*/
public interface ITeleportEvent extends Event {
public interface ITeleportEvent extends Cancellable {
/**
* Get the teleport being carried out