to whoever at 4j made this code not adhere to any C standard: why

This commit is contained in:
Leah Anderson
2026-03-02 10:40:53 -07:00
parent f10f5845fd
commit daa04a789a
11 changed files with 59 additions and 59 deletions

View File

@@ -3,7 +3,7 @@
#include "PacketListener.h"
#include "BasicTypeContainers.h"
#include "CustomPayloadPacket.h"
#include "../Minecraft.Client/Windows64/Windows64_App.h"
// Mojang-defined custom packets
const wstring CustomPayloadPacket::CUSTOM_BOOK_PACKET = L"MC|BEdit";
const wstring CustomPayloadPacket::CUSTOM_BOOK_SIGN_PACKET = L"MC|BSign";
@@ -72,4 +72,4 @@ void CustomPayloadPacket::handle(PacketListener *listener)
int CustomPayloadPacket::getEstimatedSize()
{
return 2 + identifier.length() * 2 + 2 + length;
}
}