Make Team extend ForwardingAudience (#9852)

This commit is contained in:
powercas_gamer
2023-11-04 21:50:56 +01:00
parent d1c10d63dc
commit 5cfbe38b31
5 changed files with 37 additions and 7 deletions

View File

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