mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-31 04:46:38 +00:00
[ci skip] Update comments (36/60)
This commit is contained in:
@@ -7,17 +7,17 @@ Original license: MIT
|
||||
Original project: https://github.com/KeYiMC/KeYi
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||
index f42b134854201a94601f2660cb62a8211a8f49f7..9c6b5799897237ce0095087fdc9eec446420cc1f 100644
|
||||
index f42b134854201a94601f2660cb62a8211a8f49f7..7d0dbadbc3010c3e348ba408c2e3fda8577d767f 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -9,6 +9,10 @@ import java.util.Date;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import org.bukkit.BanEntry;
|
||||
+// KeYi start
|
||||
+// Leaf start - KeYi - Player Skull API
|
||||
+import java.util.concurrent.CompletableFuture;
|
||||
+import net.kyori.adventure.text.Component;
|
||||
+// KeYi end
|
||||
+// Leaf start - KeYi
|
||||
import org.bukkit.DyeColor;
|
||||
import org.bukkit.Effect;
|
||||
import org.bukkit.GameMode;
|
||||
@@ -26,7 +26,7 @@ index f42b134854201a94601f2660cb62a8211a8f49f7..9c6b5799897237ce0095087fdc9eec44
|
||||
}
|
||||
// Purpur end
|
||||
+
|
||||
+ // KeYi start
|
||||
+ // Leaf start - KeYi - Player Skull API
|
||||
+ /**
|
||||
+ * Get a skull item of a player.
|
||||
+ * This method runs on main thread, which may freeze the server.
|
||||
@@ -42,5 +42,5 @@ index f42b134854201a94601f2660cb62a8211a8f49f7..9c6b5799897237ce0095087fdc9eec44
|
||||
+ * @return A CompletableFuture of the skull ItemStack of the player
|
||||
+ */
|
||||
+ CompletableFuture<ItemStack> getSkullAsynchronously();
|
||||
+ // KeYi end
|
||||
+ // Leaf end - KeYi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user