mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-07 16:54:47 +00:00
replace __debugbreak with assert, fix full build
This commit is contained in:
@@ -26,7 +26,7 @@ GameCommandPacket::GameCommandPacket(EGameCommand command,
|
||||
if (length > std::numeric_limits<short>::max()) {
|
||||
Log::info("Payload may not be larger than 32K\n");
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
assert(0);
|
||||
#endif
|
||||
// throw new IllegalArgumentException("Payload may not be larger
|
||||
// than 32k");
|
||||
|
||||
Reference in New Issue
Block a user