geforkt von Mirrors/Paper
Fix OfflinePlayer getPlayerProfile return type (#8710)
Dieser Commit ist enthalten in:
Ursprung
583c8afcd8
Commit
ae31085e6d
@ -42,6 +42,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
public static PlayerProfile createPlayerProfile(@NotNull String name) {
|
public static PlayerProfile createPlayerProfile(@NotNull String name) {
|
||||||
return server.createPlayerProfile(name);
|
return server.createPlayerProfile(name);
|
||||||
}
|
}
|
||||||
|
diff --git a/src/main/java/org/bukkit/OfflinePlayer.java b/src/main/java/org/bukkit/OfflinePlayer.java
|
||||||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
--- a/src/main/java/org/bukkit/OfflinePlayer.java
|
||||||
|
+++ b/src/main/java/org/bukkit/OfflinePlayer.java
|
||||||
|
@@ -0,0 +0,0 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio
|
||||||
|
* @return the player's profile
|
||||||
|
*/
|
||||||
|
@NotNull
|
||||||
|
- PlayerProfile getPlayerProfile();
|
||||||
|
+ com.destroystokyo.paper.profile.PlayerProfile getPlayerProfile(); // Paper
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks if this player is banned or not
|
||||||
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
|
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/Server.java
|
--- a/src/main/java/org/bukkit/Server.java
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren