mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
f91ffd3gated the drain on a one-way PLAYER_ENTERING_WORLD latch (Event::EnteringWorld::HasEnteredWorld), added on the belief that no pollable in-world flag existed.cd674aafound the real one: VAR_IN_WORLD (0x00B4B424), 1 while in world and 0 during any loading screen. The one-way latch stays true forever after the first login, so if the object burst re-populates bag descriptors during a LATER zone/instance loading screen it would fire BAG_UPDATE_DELAYED mid-load again -- the very thing the gate was meant to prevent, recurring on every zone. VAR_IN_WORLD clears on every transition, so polling it re-suppresses during later loads and emits one DELAYED once actually in-world (matching retail's one-per-load). Switch the gate to VAR_IN_WORLD and remove the now-dead HasEnteredWorld latch/accessor and its header; EnteringWorld keeps only its PEW-payload role.