mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 04:25:26 +01:00
Fix Player#playerListName nullability annotation (#6089)
This commit is contained in:
parent
cc063e1f09
commit
8fe561162e
@ -1331,7 +1331,7 @@ index 25a6f9313a1953def7470e411b53016f2ca14bef..d7a4cfed4f46b34f83fb2c07bdab5a71
|
||||
+ // Paper end
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||
index edf4623a831442e1f06daabc402a3f32610dd519..d026c791ee86cb45feadcad7a48dea41287e3da7 100644
|
||||
index edf4623a831442e1f06daabc402a3f32610dd519..8ed69c4be84db742f2ff53adfd40f9eb8823e02d 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -33,7 +33,28 @@ import org.jetbrains.annotations.Nullable;
|
||||
@ -1398,7 +1398,7 @@ index edf4623a831442e1f06daabc402a3f32610dd519..d026c791ee86cb45feadcad7a48dea41
|
||||
+ *
|
||||
+ * @return the player list name
|
||||
+ */
|
||||
+ @Nullable net.kyori.adventure.text.Component playerListName();
|
||||
+ @NotNull net.kyori.adventure.text.Component playerListName();
|
||||
+
|
||||
+ /**
|
||||
+ * Gets the currently displayed player list header for this player.
|
||||
|
Loading…
Reference in New Issue
Block a user