From eadaf2c19d9ac20a816593dbdc84e03cbf64a977 Mon Sep 17 00:00:00 2001 From: Dreeam <61569423+Dreeam-qwq@users.noreply.github.com> Date: Tue, 3 Jun 2025 10:02:42 +0800 Subject: [PATCH] Fix AsteorBar protocol --- .../java/org/leavesmc/leaves/protocol/AsteorBarProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf-server/src/main/java/org/leavesmc/leaves/protocol/AsteorBarProtocol.java b/leaf-server/src/main/java/org/leavesmc/leaves/protocol/AsteorBarProtocol.java index 3be7a325..bca0d8d2 100644 --- a/leaf-server/src/main/java/org/leavesmc/leaves/protocol/AsteorBarProtocol.java +++ b/leaf-server/src/main/java/org/leavesmc/leaves/protocol/AsteorBarProtocol.java @@ -48,7 +48,7 @@ public class AsteorBarProtocol implements LeavesProtocol { } @ProtocolHandler.MinecraftRegister(onlyNamespace = true) - public static void onPlayerSubscribed(@NotNull ServerPlayer player) { + public static void onPlayerSubscribed(@NotNull ServerPlayer player, ResourceLocation id) { players.add(player); }