mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-04-27 17:16:31 +00:00
Revert "isPlayer changes"
This reverts commit 2e61839d93728d4193b5542558369f8cf05be61d.
This commit is contained in:
parent
7a051afd97
commit
c6480192f8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user