diff --git a/module/Misc/Official.cpp b/module/Misc/Official.cpp index e25211e9..af62c5b0 100644 --- a/module/Misc/Official.cpp +++ b/module/Misc/Official.cpp @@ -2255,7 +2255,7 @@ struct LgStream { else if (static_cast< AbstractStaticClassData * >(target.GetTypeTag()) == StaticClassTypeTag< LgPlayer >::Get()) { id = target.CastI< LgPlayer >()->GetIdentifier(); } else STHROWF("Invalid target type"); - if (id > SQMOD_PLAYER_POOL) STHROWF("Invalid player ID"); + if (id >= SQMOD_PLAYER_POOL) STHROWF("Invalid player ID"); _Func->SendClientScriptData(id, m_OutputStreamData, m_OutputStreamEnd); ClearOutput(); }