2020-05-01 22:03:47 +00:00
From f1d1d42b895ba98532d394c35ceec862886b9c0a Mon Sep 17 00:00:00 2001
2018-07-15 01:53:17 +00:00
From: Jedediah Smith <jedediah@silencegreys.com>
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/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
2020-05-01 22:03:47 +00:00
index 541e3ce830..9691d84f2c 100644
2018-07-15 01:53:17 +00:00
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
2020-04-19 07:11:02 +00:00
@@ -150,6 +150,7 @@ public abstract class PlayerList {
2018-07-15 01:53:17 +00:00
playerconnection.sendPacket(new PacketPlayOutHeldItemSlot(entityplayer.inventory.itemInHandIndex));
playerconnection.sendPacket(new PacketPlayOutRecipeUpdate(this.server.getCraftingManager().b()));
playerconnection.sendPacket(new PacketPlayOutTags(this.server.getTagRegistry()));
2019-06-25 01:47:58 +00:00
+ playerconnection.sendPacket(new PacketPlayOutEntityStatus(entityplayer, (byte) (worldserver.getGameRules().getBoolean(GameRules.REDUCED_DEBUG_INFO) ? 22 : 23))); // Paper - fix this rule not being initialized on the client
2019-04-27 03:05:36 +00:00
this.d(entityplayer);
2018-07-15 01:53:17 +00:00
entityplayer.getStatisticManager().c();
entityplayer.B().a(entityplayer);
--
2020-05-01 22:03:47 +00:00
2.26.2
2018-07-15 01:53:17 +00:00