From 7ded9eefa404aec6e9a48b3452b0072b7aee4537 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 6 Feb 2024 22:39:33 +0100 Subject: [PATCH] Potential WE axe fix --- .../steamwar/bausystem/features/world/AFKStopperListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/world/AFKStopperListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/world/AFKStopperListener.java index 263324c3..81e2f4dd 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/world/AFKStopperListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/world/AFKStopperListener.java @@ -63,7 +63,7 @@ public class AFKStopperListener implements Listener { afkTicks = 0; } - @EventHandler + @EventHandler(priority = EventPriority.LOWEST) //Potential fix for potential race condition with WE axe spontaneously not working public void onPlayerJoin(PlayerJoinEvent event) { event.getPlayer().setOp(true); } -- 2.39.2