@@ -9,24 +9,33 @@ diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Buk
9
9
index 621420d35378e0038c33892c185216894912f023..82387e0c8477f5baa6bd473505b0e0aad6e78268 100644
10
10
--- a/src/main/java/org/bukkit/Bukkit.java
11
11
+++ b/src/main/java/org/bukkit/Bukkit.java
12
- @@ -1178,6 +1178,7 @@ public final class Bukkit {
12
+ @@ -1176,8 +1176,10 @@ public final class Bukkit {
13
+ * @return the new PlayerProfile
14
+ * @throws IllegalArgumentException if both the unique id is
13
15
* <code>null</code> and the name is <code>null</code> or blank
16
+ + * @deprecated use {@link #createProfile(UUID, String)}
14
17
*/
15
18
@NotNull
16
19
+ @Deprecated // Paper
17
20
public static PlayerProfile createPlayerProfile(@Nullable UUID uniqueId, @Nullable String name) {
18
21
return server.createPlayerProfile(uniqueId, name);
19
22
}
20
- @@ -1190,6 +1191,7 @@ public final class Bukkit {
23
+ @@ -1188,8 +1190,10 @@ public final class Bukkit {
24
+ * @param uniqueId the unique id
25
+ * @return the new PlayerProfile
21
26
* @throws IllegalArgumentException if the unique id is <code>null</code>
27
+ + * @deprecated use {@link #createProfile(UUID)}
22
28
*/
23
29
@NotNull
24
30
+ @Deprecated // Paper
25
31
public static PlayerProfile createPlayerProfile(@NotNull UUID uniqueId) {
26
32
return server.createPlayerProfile(uniqueId);
27
33
}
28
- @@ -1203,6 +1205,7 @@ public final class Bukkit {
34
+ @@ -1201,8 +1205,10 @@ public final class Bukkit {
35
+ * @return the new PlayerProfile
36
+ * @throws IllegalArgumentException if the name is <code>null</code> or
29
37
* blank
38
+ + * @deprecated use {@link #createProfile(String)}
30
39
*/
31
40
@NotNull
32
41
+ @Deprecated // Paper
@@ -37,24 +46,33 @@ diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Ser
37
46
index 58c8e74b61dd4d952919a854a374ae7b4c3e02c0..e196903e2e4d619603f445713cee36ea402fc55e 100644
38
47
--- a/src/main/java/org/bukkit/Server.java
39
48
+++ b/src/main/java/org/bukkit/Server.java
40
- @@ -1003,6 +1003,7 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
49
+ @@ -1001,8 +1001,10 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
50
+ * @return the new PlayerProfile
51
+ * @throws IllegalArgumentException if both the unique id is
41
52
* <code>null</code> and the name is <code>null</code> or blank
53
+ + * @deprecated use {@link #createProfile(UUID, String)}
42
54
*/
43
55
@NotNull
44
56
+ @Deprecated // Paper
45
57
PlayerProfile createPlayerProfile(@Nullable UUID uniqueId, @Nullable String name);
46
58
47
59
/**
48
- @@ -1013,6 +1014,7 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
60
+ @@ -1011,8 +1013,10 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
61
+ * @param uniqueId the unique id
62
+ * @return the new PlayerProfile
49
63
* @throws IllegalArgumentException if the unique id is <code>null</code>
64
+ + * @deprecated use {@link #createProfile(UUID)}
50
65
*/
51
66
@NotNull
52
67
+ @Deprecated // Paper
53
68
PlayerProfile createPlayerProfile(@NotNull UUID uniqueId);
54
69
55
70
/**
56
- @@ -1024,6 +1026,7 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
71
+ @@ -1022,8 +1026,10 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
72
+ * @return the new PlayerProfile
73
+ * @throws IllegalArgumentException if the name is <code>null</code> or
57
74
* blank
75
+ + * @deprecated use {@link #createProfile(String)}
58
76
*/
59
77
@NotNull
60
78
+ @Deprecated
0 commit comments