mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Official.cpp
This commit is contained in:
parent
8dc4d353e2
commit
5bc69bc789
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user