From 1c9eba0c8c1cc3d13239b8f58995edad555a2a4b Mon Sep 17 00:00:00 2001 From: Huynh Tien Date: Wed, 23 Oct 2024 02:42:16 +0700 Subject: [PATCH] fix handler list in PreTeleportRequestEvent --- .../java/me/hsgamer/yatpa/event/PreTeleportRequestEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/hsgamer/yatpa/event/PreTeleportRequestEvent.java b/src/main/java/me/hsgamer/yatpa/event/PreTeleportRequestEvent.java index ceff544..cef69fd 100644 --- a/src/main/java/me/hsgamer/yatpa/event/PreTeleportRequestEvent.java +++ b/src/main/java/me/hsgamer/yatpa/event/PreTeleportRequestEvent.java @@ -20,7 +20,7 @@ public PreTeleportRequestEvent(Player player, String targetPlayerName, @Nullable this.targetPlayer = targetPlayer; } - public static HandlerList getHANDLERS() { + public static HandlerList getHandlerList() { return HANDLERS; }