From ddcbe17388b554f7f904f6eb9edb0274e4896cb7 Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 22 Nov 2021 12:56:55 +0100 Subject: [PATCH] Remove Fix reducedDebugInfo not initialized on client patch Hasn't been needed for a while now, see #6733 --- ...edDebugInfo-not-initialized-on-client.patch | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 patches/server/Fix-reducedDebugInfo-not-initialized-on-client.patch diff --git a/patches/server/Fix-reducedDebugInfo-not-initialized-on-client.patch b/patches/server/Fix-reducedDebugInfo-not-initialized-on-client.patch deleted file mode 100644 index c9389be3fd..0000000000 --- a/patches/server/Fix-reducedDebugInfo-not-initialized-on-client.patch +++ /dev/null @@ -1,18 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Jedediah Smith -Date: Sat, 2 Apr 2016 20:37:03 -0400 -Subject: [PATCH] Fix reducedDebugInfo not initialized on client - - -diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java -index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 ---- a/src/main/java/net/minecraft/server/players/PlayerList.java -+++ b/src/main/java/net/minecraft/server/players/PlayerList.java -@@ -0,0 +0,0 @@ public abstract class PlayerList { - playerconnection.send(new ClientboundSetCarriedItemPacket(player.getInventory().selected)); - playerconnection.send(new ClientboundUpdateRecipesPacket(this.server.getRecipeManager().getRecipes())); - playerconnection.send(new ClientboundUpdateTagsPacket(this.server.getTags().serializeToNetwork((RegistryAccess) this.registryHolder))); -+ playerconnection.send(new ClientboundEntityEventPacket(player, (byte) (worldserver1.getGameRules().getBoolean(GameRules.RULE_REDUCEDDEBUGINFO) ? 22 : 23))); // Paper - fix this rule not being initialized on the client - this.sendPlayerPermissionLevel(player); - player.getStats().markAllDirty(); - player.getRecipeBook().sendInitialRecipeBook(player);