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); }