9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-23 17:09:29 +00:00

Fix AsteorBar protocol

This commit is contained in:
Dreeam
2025-06-03 10:02:42 +08:00
parent 3d14e36fe8
commit eadaf2c19d

View File

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