Revert "isPlayer changes"

This reverts commit 2e61839d93.
This commit is contained in:
EmosewaMC 2022-04-23 20:35:39 -07:00
parent 7a051afd97
commit c6480192f8

View File

@ -1739,7 +1739,7 @@ void Entity::CancelAllTimers() {
}
bool Entity::IsPlayer() const {
return m_TemplateID == 1 && GetCharacter() != nullptr;
return m_TemplateID == 1 && GetSystemAddress() != UNASSIGNED_SYSTEM_ADDRESS;
}
void Entity::TriggerEvent(std::string eventID, Entity* optionalTarget) {