Core/Command: Fix gobject delete command.

This commit is contained in:
hondacrx
2021-02-13 19:53:58 -05:00
parent 353acf83b8
commit b9a94c1235
@@ -83,7 +83,7 @@ namespace Game.Chat
}
ObjectGuid ownerGuid = obj.GetOwnerGUID();
if (ownerGuid.IsEmpty())
if (!ownerGuid.IsEmpty())
{
Unit owner = Global.ObjAccessor.GetUnit(player, ownerGuid);
if (!owner || !ownerGuid.IsPlayer())