From 5cf845ad1bdc02d141ea7e4c8968fe2f3a8a25b9 Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:38:28 -0600 Subject: [PATCH] fix: `Entity::tlsIdx` shouldn't be WIN32-specific --- Minecraft.World/Entity.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Minecraft.World/Entity.cpp b/Minecraft.World/Entity.cpp index 24b4c5e5a..af040f65e 100644 --- a/Minecraft.World/Entity.cpp +++ b/Minecraft.World/Entity.cpp @@ -24,9 +24,7 @@ int Entity::entityCounter = 2048; // 4J - changed initialiser to 2048, as we are using range 0 - 2047 as special unique smaller ids for things that need network tracked -#ifdef _WIN32 DWORD Entity::tlsIdx = TlsAlloc(); -#endif // _WIN32 // 4J - added getSmallId & freeSmallId methods unsigned int Entity::entityIdUsedFlags[2048/32] = {0};