mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-23 22:27:09 +00:00
fix: unglob std::{min, max}, manual stuff
This commit is contained in:
@@ -253,7 +253,7 @@ void ServerPlayer::flushEntitiesToRemove()
|
||||
if (!entitiesToRemove.empty())
|
||||
{
|
||||
int sz = entitiesToRemove.size();
|
||||
int amount = min(sz, RemoveEntitiesPacket::MAX_PER_PACKET);
|
||||
int amount = std::min(sz, RemoveEntitiesPacket::MAX_PER_PACKET);
|
||||
intArray ids(amount);
|
||||
int pos = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user