mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 17:54:01 +00:00
@@ -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) {
|
||||
|
Reference in New Issue
Block a user