DB/Commands: fix the use of gobject info when used with a game object entry
This commit is contained in:
@@ -0,0 +1 @@
|
||||
UPDATE `world`.`command` SET `help`='Syntax: .gobject info [$object_entry]\r \r Query Gameobject information for selected gameobject or given entry.' WHERE `name`='gobject info';
|
||||
@@ -592,7 +592,8 @@ public:
|
||||
entry = object->GetEntry();
|
||||
else
|
||||
entry = atoi((char*)args);
|
||||
}
|
||||
} else
|
||||
entry = atoi((char*)args);
|
||||
|
||||
GameObjectTemplate const* gameObjectInfo = sObjectMgr->GetGameObjectTemplate(entry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user