Skip to content

Commit 7b46444

Browse files
authored
Properly create profiles with custom name/uuid (#7558)
1 parent 5eb61dd commit 7b46444

13 files changed

+77
-52
lines changed

patches/api/0058-Basic-PlayerProfile-API.patch

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -289,16 +289,20 @@ index 0000000000000000000000000000000000000000..7b3b6ef533d32169fbeca389bd61cfc6
289289
+ }
290290
+}
291291
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
292-
index b175f07b99a07ba50c4721c38f9e6330f02942f8..aae3eec8d28a0047bc590ecc55d87d11ee6d08f0 100644
292+
index b175f07b99a07ba50c4721c38f9e6330f02942f8..88720b2fa92f387714c11a11cba8c9bf0a25e797 100644
293293
--- a/src/main/java/org/bukkit/Bukkit.java
294294
+++ b/src/main/java/org/bukkit/Bukkit.java
295-
@@ -2080,6 +2080,40 @@ public final class Bukkit {
295+
@@ -2080,6 +2080,50 @@ public final class Bukkit {
296296
public static boolean suggestPlayerNamesWhenNullTabCompletions() {
297297
return server.suggestPlayerNamesWhenNullTabCompletions();
298298
}
299299
+
300300
+ /**
301-
+ * Creates a PlayerProfile for the specified uuid, with name as null
301+
+ * Creates a PlayerProfile for the specified uuid, with name as null.
302+
+ *
303+
+ * If a player with the passed uuid exists on the server at the time of creation, the returned player profile will
304+
+ * be populated with the properties of said player.
305+
+ *
302306
+ * @param uuid UUID to create profile for
303307
+ * @return A PlayerProfile object
304308
+ */
@@ -308,7 +312,11 @@ index b175f07b99a07ba50c4721c38f9e6330f02942f8..aae3eec8d28a0047bc590ecc55d87d11
308312
+ }
309313
+
310314
+ /**
311-
+ * Creates a PlayerProfile for the specified name, with UUID as null
315+
+ * Creates a PlayerProfile for the specified name, with UUID as null.
316+
+ *
317+
+ * If a player with the passed name exists on the server at the time of creation, the returned player profile will
318+
+ * be populated with the properties of said player.
319+
+ *
312320
+ * @param name Name to create profile for
313321
+ * @return A PlayerProfile object
314322
+ */
@@ -321,6 +329,8 @@ index b175f07b99a07ba50c4721c38f9e6330f02942f8..aae3eec8d28a0047bc590ecc55d87d11
321329
+ * Creates a PlayerProfile for the specified name/uuid
322330
+ *
323331
+ * Both UUID and Name can not be null at same time. One must be supplied.
332+
+ * If a player with the passed uuid or name exists on the server at the time of creation, the returned player
333+
+ * profile will be populated with the properties of said player.
324334
+ *
325335
+ * @param uuid UUID to create profile for
326336
+ * @param name Name to create profile for
@@ -334,24 +344,32 @@ index b175f07b99a07ba50c4721c38f9e6330f02942f8..aae3eec8d28a0047bc590ecc55d87d11
334344

335345
@NotNull
336346
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
337-
index 24e68d5cb4f713984b25ab19330cb77f1eddb5cf..51c96a0b6645cf31f4ca051f6a8c75b5f188484c 100644
347+
index 24e68d5cb4f713984b25ab19330cb77f1eddb5cf..29886928ab33edf9965b93e89482a84bd82e4fd2 100644
338348
--- a/src/main/java/org/bukkit/Server.java
339349
+++ b/src/main/java/org/bukkit/Server.java
340-
@@ -1825,5 +1825,33 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
350+
@@ -1825,5 +1825,43 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
341351
* @return true if player names should be suggested
342352
*/
343353
boolean suggestPlayerNamesWhenNullTabCompletions();
344354
+
345355
+ /**
346-
+ * Creates a PlayerProfile for the specified uuid, with name as null
356+
+ * Creates a PlayerProfile for the specified uuid, with name as null.
357+
+ *
358+
+ * If a player with the passed uuid exists on the server at the time of creation, the returned player profile will
359+
+ * be populated with the properties of said player.
360+
+ *
347361
+ * @param uuid UUID to create profile for
348362
+ * @return A PlayerProfile object
349363
+ */
350364
+ @NotNull
351365
+ com.destroystokyo.paper.profile.PlayerProfile createProfile(@NotNull UUID uuid);
352366
+
353367
+ /**
354-
+ * Creates a PlayerProfile for the specified name, with UUID as null
368+
+ * Creates a PlayerProfile for the specified name, with UUID as null.
369+
+ *
370+
+ * If a player with the passed name exists on the server at the time of creation, the returned player profile will
371+
+ * be populated with the properties of said player.
372+
+ *
355373
+ * @param name Name to create profile for
356374
+ * @return A PlayerProfile object
357375
+ */
@@ -362,6 +380,8 @@ index 24e68d5cb4f713984b25ab19330cb77f1eddb5cf..51c96a0b6645cf31f4ca051f6a8c75b5
362380
+ * Creates a PlayerProfile for the specified name/uuid
363381
+ *
364382
+ * Both UUID and Name can not be null at same time. One must be supplied.
383+
+ * If a player with the passed uuid or name exists on the server at the time of creation, the returned player
384+
+ * profile will be populated with the properties of said player.
365385
+ *
366386
+ * @param uuid UUID to create profile for
367387
+ * @param name Name to create profile for

patches/api/0163-Make-the-default-permission-message-configurable.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Subject: [PATCH] Make the default permission message configurable
55

66

77
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
8-
index 76d379cfc00157dd76ae981ebd839ac0954b4773..686235a2347ebeaa5654a14cdd717009f2c0105f 100644
8+
index d82d06894e3dd09fe57448fd5bc09fabbff08e62..52f5750e1cbce6000c72f5f1b4bde41b9fa66b23 100644
99
--- a/src/main/java/org/bukkit/Bukkit.java
1010
+++ b/src/main/java/org/bukkit/Bukkit.java
1111
@@ -2098,6 +2098,15 @@ public final class Bukkit {
@@ -22,10 +22,10 @@ index 76d379cfc00157dd76ae981ebd839ac0954b4773..686235a2347ebeaa5654a14cdd717009
2222
+ }
2323
+
2424
/**
25-
* Creates a PlayerProfile for the specified uuid, with name as null
26-
* @param uuid UUID to create profile for
25+
* Creates a PlayerProfile for the specified uuid, with name as null.
26+
*
2727
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
28-
index 818c37490d98c287ade9b56f3fc01001db1df773..f43720d07e80e3d2937f5b271664b5268d7af027 100644
28+
index 9d5e22d1a4b87476a4c0d83dfdf42821131b30b1..ef10f62a00f19b6a2ca61c3984465f5cd9fa7479 100644
2929
--- a/src/main/java/org/bukkit/Server.java
3030
+++ b/src/main/java/org/bukkit/Server.java
3131
@@ -1841,6 +1841,13 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
@@ -40,8 +40,8 @@ index 818c37490d98c287ade9b56f3fc01001db1df773..f43720d07e80e3d2937f5b271664b526
4040
+ String getPermissionMessage();
4141
+
4242
/**
43-
* Creates a PlayerProfile for the specified uuid, with name as null
44-
* @param uuid UUID to create profile for
43+
* Creates a PlayerProfile for the specified uuid, with name as null.
44+
*
4545
diff --git a/src/main/java/org/bukkit/command/Command.java b/src/main/java/org/bukkit/command/Command.java
4646
index b1152f4dede61383232cc6713d448840612eac13..95847fcb1ac2e430ee192f4f7ac94e981151c5db 100644
4747
--- a/src/main/java/org/bukkit/command/Command.java

patches/api/0183-Expose-the-internal-current-tick.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Subject: [PATCH] Expose the internal current tick
55

66

77
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
8-
index cf7f8a8f03adcbe466b59ea8b98b527fb54a0803..61877d9d64840408a7aec7bcc2a54779a9e820d8 100644
8+
index 19771a9a7a212a71f4cad33981c3b72341d80093..0f77744ac6ea1d41f3e8713236bb85ec182f4010 100644
99
--- a/src/main/java/org/bukkit/Bukkit.java
1010
+++ b/src/main/java/org/bukkit/Bukkit.java
11-
@@ -2140,6 +2140,10 @@ public final class Bukkit {
11+
@@ -2150,6 +2150,10 @@ public final class Bukkit {
1212
public static com.destroystokyo.paper.profile.PlayerProfile createProfile(@Nullable UUID uuid, @Nullable String name) {
1313
return server.createProfile(uuid, name);
1414
}
@@ -20,10 +20,10 @@ index cf7f8a8f03adcbe466b59ea8b98b527fb54a0803..61877d9d64840408a7aec7bcc2a54779
2020

2121
@NotNull
2222
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
23-
index 49bcc2edea32ef2b31b9ed5c3a62140bcc81ffc9..73ec2a8541ae95e07e32327ad0fff3a30b091658 100644
23+
index 790c09d8fc67dfe6325faff419be7d980415bad8..fcc48b9a512c756f22075d58021cad23d1ac1091 100644
2424
--- a/src/main/java/org/bukkit/Server.java
2525
+++ b/src/main/java/org/bukkit/Server.java
26-
@@ -1875,5 +1875,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
26+
@@ -1885,5 +1885,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
2727
*/
2828
@NotNull
2929
com.destroystokyo.paper.profile.PlayerProfile createProfile(@Nullable UUID uuid, @Nullable String name);

patches/api/0190-Expose-MinecraftServer-isRunning.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: [PATCH] Expose MinecraftServer#isRunning
66
This allows for plugins to detect if the server is actually turning off in onDisable rather than just plugins reloading.
77

88
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
9-
index 6971ecc8d285f81c476f1b3442159167102a5719..88d1b843d9c8db350f1b64da06bb1b568626d0ce 100644
9+
index 3ed3d7eb10f601dcb32e5ca7b053afeb5b0db729..bc4c76eb8b5329b4eeefe62828fed45b8b1c5154 100644
1010
--- a/src/main/java/org/bukkit/Bukkit.java
1111
+++ b/src/main/java/org/bukkit/Bukkit.java
12-
@@ -2163,6 +2163,15 @@ public final class Bukkit {
12+
@@ -2173,6 +2173,15 @@ public final class Bukkit {
1313
public static int getCurrentTick() {
1414
return server.getCurrentTick();
1515
}
@@ -26,10 +26,10 @@ index 6971ecc8d285f81c476f1b3442159167102a5719..88d1b843d9c8db350f1b64da06bb1b56
2626

2727
@NotNull
2828
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
29-
index a543d5ec7df410cad15affb22058b60ec6a5c570..ce8e0c4e90f59d7446f761d0df9ab1c73bbbb676 100644
29+
index 84bcfb8f8220700c0336a378eec41be765db844a..9e459ea23dc480996ebea314e5bc98dd891c020a 100644
3030
--- a/src/main/java/org/bukkit/Server.java
3131
+++ b/src/main/java/org/bukkit/Server.java
32-
@@ -1897,5 +1897,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
32+
@@ -1907,5 +1907,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
3333
* @return Current tick
3434
*/
3535
int getCurrentTick();

patches/api/0200-Add-Mob-Goal-API.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -523,10 +523,10 @@ index 0000000000000000000000000000000000000000..8fd399f791b45eb7fc62693ca954eea0
523523
+ @Deprecated GoalKey<Mob> UNIVERSAL_ANGER_RESET = GoalKey.of(Mob.class, NamespacedKey.minecraft("universal_anger_reset"));
524524
+}
525525
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
526-
index 111323f84fb6f34f5a61c5e24d1f1a058744416d..ed6dab65a21b9c089e69cf9fe2fda3919be4e5a3 100644
526+
index b6707f205757eb3ab09d15a20f8f93d1ba5cfff8..640e4cb43b278a06416303d96c73e50e12f6a853 100644
527527
--- a/src/main/java/org/bukkit/Bukkit.java
528528
+++ b/src/main/java/org/bukkit/Bukkit.java
529-
@@ -2184,6 +2184,16 @@ public final class Bukkit {
529+
@@ -2194,6 +2194,16 @@ public final class Bukkit {
530530
public static boolean isStopping() {
531531
return server.isStopping();
532532
}
@@ -544,10 +544,10 @@ index 111323f84fb6f34f5a61c5e24d1f1a058744416d..ed6dab65a21b9c089e69cf9fe2fda391
544544

545545
@NotNull
546546
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
547-
index 5b52ec962c0ebd8cf8968dcbc31a9900eb15f6c0..705d30a68d6f10e5c5dd49b70535b320895c8502 100644
547+
index 35e3a1814ad3d4891d9e07be23a019ab650c31ff..e6c491c3c6246784f6741a99120b0e1f09f71232 100644
548548
--- a/src/main/java/org/bukkit/Server.java
549549
+++ b/src/main/java/org/bukkit/Server.java
550-
@@ -1914,5 +1914,13 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
550+
@@ -1924,5 +1924,13 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
551551
* @return true if server is in the process of being shutdown
552552
*/
553553
boolean isStopping();

patches/api/0295-Add-basic-Datapack-API.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ index 0000000000000000000000000000000000000000..58f78d5e91beacaf710f62461cf869f7
7070
+
7171
+}
7272
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
73-
index c8ea04b06d7178c6cc992a9a1b0355a70a035152..7732d26277ca8b845898cb01c7623a2f175f0aaa 100644
73+
index 8106fd5806fc47cb7138e01d9d5c458153afa3d5..adc8ed72acbb1ca788d44fa9542d287dbbafc669 100644
7474
--- a/src/main/java/org/bukkit/Bukkit.java
7575
+++ b/src/main/java/org/bukkit/Bukkit.java
76-
@@ -2238,6 +2238,14 @@ public final class Bukkit {
76+
@@ -2248,6 +2248,14 @@ public final class Bukkit {
7777
public static com.destroystokyo.paper.entity.ai.MobGoals getMobGoals() {
7878
return server.getMobGoals();
7979
}
@@ -89,10 +89,10 @@ index c8ea04b06d7178c6cc992a9a1b0355a70a035152..7732d26277ca8b845898cb01c7623a2f
8989

9090
@NotNull
9191
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
92-
index 75aba8c3db5198c11e0bb9c262388632a47d93e6..1d2970dc4d18122e95db8cc9830aa5c41a59e24b 100644
92+
index d43f785471d3671bad6eb270a87a70b27f85adcb..1446fe0be113f5d0b98f34b1da19900acc7f015d 100644
9393
--- a/src/main/java/org/bukkit/Server.java
9494
+++ b/src/main/java/org/bukkit/Server.java
95-
@@ -1961,5 +1961,11 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
95+
@@ -1971,5 +1971,11 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
9696
*/
9797
@NotNull
9898
com.destroystokyo.paper.entity.ai.MobGoals getMobGoals();

patches/api/0371-Custom-Potion-Mixes.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ index 0000000000000000000000000000000000000000..cb6d93526b637946aec311bef103ad30
102102
+ }
103103
+}
104104
diff --git a/src/main/java/org/bukkit/Bukkit.java b/src/main/java/org/bukkit/Bukkit.java
105-
index 795f8c0aa3929f6de4b4ea4b139bef8b672ab97a..944f9b87a11472ac6d7e328acc00bf09f899e648 100644
105+
index 41be35164aa240ab1ea69bac96b667183960d9cd..c093ba024cfd951be1afc4100d899ed8f70ab003 100644
106106
--- a/src/main/java/org/bukkit/Bukkit.java
107107
+++ b/src/main/java/org/bukkit/Bukkit.java
108-
@@ -2297,6 +2297,15 @@ public final class Bukkit {
108+
@@ -2307,6 +2307,15 @@ public final class Bukkit {
109109
public static io.papermc.paper.datapack.DatapackManager getDatapackManager() {
110110
return server.getDatapackManager();
111111
}
@@ -122,10 +122,10 @@ index 795f8c0aa3929f6de4b4ea4b139bef8b672ab97a..944f9b87a11472ac6d7e328acc00bf09
122122

123123
@NotNull
124124
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java
125-
index 79120b42a3993beda1e3474fa4b722402e9d849f..f63587cfa651a3893d2efa3730dc80f271d56b1c 100644
125+
index 25e5fa7b6ebebdf86070d95330e8ae272fc0c593..cb511df257b389e06a4f947b6e837cb5986b28db 100644
126126
--- a/src/main/java/org/bukkit/Server.java
127127
+++ b/src/main/java/org/bukkit/Server.java
128-
@@ -1995,5 +1995,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
128+
@@ -2005,5 +2005,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
129129
*/
130130
@NotNull
131131
io.papermc.paper.datapack.DatapackManager getDatapackManager();

patches/server/0139-Basic-PlayerProfile-API.patch

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ index c4142568c3188c89142799cc4911dd7eae32a45f..f379e108ec3c762940bddea878a0a711
621621
String s1 = name.toLowerCase(Locale.ROOT);
622622
GameProfileCache.GameProfileInfo usercache_usercacheentry = (GameProfileCache.GameProfileInfo) this.profilesByName.get(s1);
623623
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
624-
index 179ba5ae2406d8babfdec386fc8125960043d586..24f361820f195e948f617cd134352e098b298b5d 100644
624+
index 179ba5ae2406d8babfdec386fc8125960043d586..3ebb9ee5938d9cd14f352cba4cb8c74e6aa9c60f 100644
625625
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
626626
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
627627
@@ -243,6 +243,9 @@ import org.yaml.snakeyaml.error.MarkedYAMLException;
@@ -642,7 +642,7 @@ index 179ba5ae2406d8babfdec386fc8125960043d586..24f361820f195e948f617cd134352e09
642642
CraftItemFactory.instance();
643643
}
644644

645-
@@ -2568,5 +2572,24 @@ public final class CraftServer implements Server {
645+
@@ -2568,5 +2572,29 @@ public final class CraftServer implements Server {
646646
public boolean suggestPlayerNamesWhenNullTabCompletions() {
647647
return com.destroystokyo.paper.PaperConfig.suggestPlayersWhenNullTabCompletions;
648648
}
@@ -660,10 +660,15 @@ index 179ba5ae2406d8babfdec386fc8125960043d586..24f361820f195e948f617cd134352e09
660660
+ @Override
661661
+ public com.destroystokyo.paper.profile.PlayerProfile createProfile(@Nullable UUID uuid, @Nullable String name) {
662662
+ Player player = uuid != null ? Bukkit.getPlayer(uuid) : (name != null ? Bukkit.getPlayerExact(name) : null);
663-
+ if (player != null) {
664-
+ return new com.destroystokyo.paper.profile.CraftPlayerProfile((CraftPlayer)player);
663+
+ if (player == null) return new com.destroystokyo.paper.profile.CraftPlayerProfile(uuid, name);
664+
+
665+
+ if (Objects.equals(uuid, player.getUniqueId()) && Objects.equals(name, player.getName())) {
666+
+ return new com.destroystokyo.paper.profile.CraftPlayerProfile((CraftPlayer) player);
665667
+ }
666-
+ return new com.destroystokyo.paper.profile.CraftPlayerProfile(uuid, name);
668+
+
669+
+ final com.mojang.authlib.GameProfile profile = new com.mojang.authlib.GameProfile(uuid, name);
670+
+ profile.getProperties().putAll(((CraftPlayer)player).getHandle().getGameProfile().getProperties());
671+
+ return new com.destroystokyo.paper.profile.CraftPlayerProfile(profile);
667672
+ }
668673
// Paper end
669674
}

patches/server/0327-Expose-the-internal-current-tick.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Subject: [PATCH] Expose the internal current tick
55

66

77
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
8-
index 36b20b697850dff10910d7f4cd9543ba11e60568..8bf2f50e314061a2493d0ce89b9d6104994fe6b6 100644
8+
index 1efe81c2bec0920477d3062c0ea5829bd45ebc4d..66132ce8beb96c6880a72514d8e43438d962c547 100644
99
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
1010
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
11-
@@ -2617,5 +2617,10 @@ public final class CraftServer implements Server {
12-
}
13-
return new com.destroystokyo.paper.profile.CraftPlayerProfile(uuid, name);
11+
@@ -2622,5 +2622,10 @@ public final class CraftServer implements Server {
12+
profile.getProperties().putAll(((CraftPlayer)player).getHandle().getGameProfile().getProperties());
13+
return new com.destroystokyo.paper.profile.CraftPlayerProfile(profile);
1414
}
1515
+
1616
+ @Override

patches/server/0377-Expose-MinecraftServer-isRunning.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ Subject: [PATCH] Expose MinecraftServer#isRunning
66
This allows for plugins to detect if the server is actually turning off in onDisable rather than just plugins reloading.
77

88
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
9-
index d4442ba4f0fc9e062fd321dccd0f49c3d10fd28b..6535d59e4fd04cce072de4d939b84e423b5ce52d 100644
9+
index 827cc40bfba2c277a9329d63b8224e2aa6296fa4..f1c435ef799b3f7db63c0c73474b9b35b21bba24 100644
1010
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
1111
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
12-
@@ -2632,5 +2632,10 @@ public final class CraftServer implements Server {
12+
@@ -2637,5 +2637,10 @@ public final class CraftServer implements Server {
1313
public int getCurrentTick() {
1414
return net.minecraft.server.MinecraftServer.currentTick;
1515
}

0 commit comments

Comments
 (0)