mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-17 12:31:53 +00:00
replace __debugbreak with assert, fix full build
This commit is contained in:
@@ -43,13 +43,13 @@ SetPlayerTeamPacket::SetPlayerTeamPacket(PlayerTeam* team,
|
||||
if (method != METHOD_JOIN && method != METHOD_LEAVE) {
|
||||
Log::info("Method must be join or leave for player constructor");
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
assert(0);
|
||||
#endif
|
||||
}
|
||||
if (playerNames == nullptr || playerNames->empty()) {
|
||||
Log::info("Players cannot be null/empty");
|
||||
#ifndef _CONTENT_PACKAGE
|
||||
__debugbreak();
|
||||
assert(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user