@@ -692,6 +692,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ return getLegacy(player.getHandle());
|
||||
+ }
|
||||
+
|
||||
+ @SuppressWarnings("deprecation") // Valid suppress due to supporting legacy display name formatting
|
||||
+ public static String getLegacy(final ServerPlayer player) {
|
||||
+ final String legacy = player.displayName;
|
||||
+ if (legacy != null) {
|
||||
|
||||
Reference in New Issue
Block a user