From 9cdb2ba3ea01ba478ba8d5542ea25ae7de5562d7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 22 Oct 2023 09:25:25 +1100 Subject: [PATCH] Deprecate exposed scoreboard API --- .../java/net/md_5/bungee/api/connection/ProxiedPlayer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java index c3848b3c..ab879248 100644 --- a/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java +++ b/api/src/main/java/net/md_5/bungee/api/connection/ProxiedPlayer.java @@ -334,6 +334,9 @@ public interface ProxiedPlayer extends Connection, CommandSender * Get the {@link Scoreboard} that belongs to this player. * * @return this player's {@link Scoreboard} + * @deprecated for internal use only, setters will not have the expected + * effect, will not update client state, and may corrupt proxy state */ + @Deprecated Scoreboard getScoreboard(); }