mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07:00
Make Team extend ForwardingAudience (#9852)
This commit is contained in:
@@ -4811,6 +4811,15 @@ diff --git a/src/main/java/org/bukkit/scoreboard/Team.java b/src/main/java/org/b
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/scoreboard/Team.java
|
||||
+++ b/src/main/java/org/bukkit/scoreboard/Team.java
|
||||
@@ -0,0 +0,0 @@ import org.jetbrains.annotations.Nullable;
|
||||
* properties. This team is only relevant to the display of the associated
|
||||
* {@link #getScoreboard() scoreboard}.
|
||||
*/
|
||||
-public interface Team {
|
||||
+public interface Team extends net.kyori.adventure.audience.ForwardingAudience { // Paper - Make Team extend ForwardingAudience
|
||||
|
||||
/**
|
||||
* Gets the name of this Team
|
||||
@@ -0,0 +0,0 @@ public interface Team {
|
||||
@NotNull
|
||||
String getName();
|
||||
|
Reference in New Issue
Block a user