21w11a mappings
This commit is contained in:
1 parent
502c4e270e
commit
b49b99aea6
6 files changed
+13
-13
No files matched your search
@@ -129,7 +129,7 @@ public class ClientNetworkHandler
|
||||
|
||||
private static void onSyncData(PacketByteBuf data, ClientPlayerEntity player)
|
||||
{
|
||||
NbtCompound compound = data.readCompoundTag();
|
||||
NbtCompound compound = data.readCompound();
|
||||
if (compound == null) return;
|
||||
for (String key: compound.getKeys())
|
||||
{
|
||||
@@ -149,7 +149,7 @@ public class ClientNetworkHandler
|
||||
outer.put("clientCommand", tag);
|
||||
CarpetClient.getPlayer().networkHandler.sendPacket(new CustomPayloadC2SPacket(
|
||||
CarpetClient.CARPET_CHANNEL,
|
||||
(new PacketByteBuf(Unpooled.buffer())).writeVarInt(CarpetClient.DATA).writeCompoundTag(outer)
|
||||
(new PacketByteBuf(Unpooled.buffer())).writeVarInt(CarpetClient.DATA).writeCompound(outer)
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user