mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-18 16:48:22 +00:00
to whoever at 4j made this code not adhere to any C standard: why
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user