More compile fixed

This commit is contained in:
Nassim Jahnke 2022-07-28 00:10:27 +02:00
parent 063e6b288c
commit cb6f029de9
No known key found for this signature in database
GPG key ID: 6BE3B555EBC5982B
34 changed files with 113 additions and 110 deletions

View file

@ -23,10 +23,10 @@ Modified isEmpty to use the isEmpty() method instead of the slightly confusing s
The point of this is readability, but does have a side-benefit of a small microptimization
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
index d88ba2e702e7e5d32388057bb8f77689b641ffde..f181ee0db6c25eee07d2750ebe35b97b586c8c35 100644
index 2ad88d72a9d14c7e73a824544a1ebcb6bb74a127..734a7b101e5ac9ac4ceb0ba3cb74b94bf2c18683 100644
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
@@ -626,7 +626,7 @@ public abstract class PlayerList {
@@ -623,7 +623,7 @@ public abstract class PlayerList {
} else if (!this.isWhiteListed(gameprofile, event)) { // Paper
//ichatmutablecomponent = Component.translatable("multiplayer.disconnect.not_whitelisted"); // Paper
//event.disallow(PlayerLoginEvent.Result.KICK_WHITELIST, net.kyori.adventure.text.serializer.legacy.LegacyComponentSerializer.legacySection().deserialize(org.spigotmc.SpigotConfig.whitelistMessage)); // Spigot // Paper - Adventure - moved to isWhitelisted