mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Deprecate player sample list that includes only the player name
This commit is contained in:
parent
e813ac8f9f
commit
4b3dd7c7e8
1 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,7 @@ Subject: [PATCH] Allow Changing of Player Sample in ServerListPingEvent
|
|||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/event/server/ServerListPingEvent.java b/src/main/java/org/bukkit/event/server/ServerListPingEvent.java
|
||||
index 3c38d857..84de3ce4 100644
|
||||
index 3c38d857..cb8d0fcd 100644
|
||||
--- a/src/main/java/org/bukkit/event/server/ServerListPingEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/server/ServerListPingEvent.java
|
||||
@@ -0,0 +0,0 @@ package org.bukkit.event.server;
|
||||
|
@ -23,9 +23,19 @@ index 3c38d857..84de3ce4 100644
|
|||
+
|
||||
+ // Paper start
|
||||
+ private java.util.List<String> sample;
|
||||
+
|
||||
+ /**
|
||||
+ * @deprecated Will be replaced in 1.13
|
||||
+ */
|
||||
+ @Deprecated
|
||||
+ public void setSampleText(java.util.List<String> sample) {
|
||||
+ this.sample = sample;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * @deprecated Will be replaced in 1.13
|
||||
+ */
|
||||
+ @Deprecated
|
||||
+ public java.util.List<String> getSampleText() {
|
||||
+ return sample;
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue