mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-12 17:41:59 +00:00
Replace MSVC __debugbreak with cross-compiler DEBUG_BREAK macro. (#1540)
This commit is contained in:
@@ -288,7 +288,7 @@ byteArray Packet::readBytes(DataInputStream *datainputstream)
|
||||
{
|
||||
app.DebugPrintf("Key was smaller than nothing! Weird key!");
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
DEBUG_BREAK();
|
||||
#endif
|
||||
return byteArray();
|
||||
//throw new IOException("Key was smaller than nothing! Weird key!");
|
||||
|
||||
Reference in New Issue
Block a user