refactor: remove basic type containers

This commit is contained in:
orng committed 2026-03-25 17:51:27 -05:00
1 parent f4a2db1252
commit f1ae42c659
36 files changed
+684 -799

No files matched your search

+2 -2
View File
@@ -1,6 +1,5 @@
#include "../../Platform/stdafx.h"
#include "../../Platform/System.h"
#include "../../Util/BasicTypeContainers.h"
#include "../../IO/Streams/InputOutputStream.h"
#include "../../Headers/net.minecraft.network.packet.h"
#include "PacketListener.h"
@@ -483,7 +482,8 @@ void Packet::writeUtf(const std::wstring& value,
// should this declare a throws?
{
#if 0
if (value.length() > Short::MAX_VALUE)
#include <limits>
if (value.length() > std::numeric_limits<short>::max())
{
throw new IOException(L"String too big");
}