fixes
This commit is contained in:
+1
-1
@@ -435,7 +435,7 @@
|
||||
--> have flag and the flag tell us he is a pet
|
||||
if (actor.flag_original and bit.band (actor.flag_original, OBJECT_TYPE_PETS) ~= 0) then
|
||||
--> do not have owner and he isn't on owner container
|
||||
if (not actor.owner and not _detalhes.container_pets.pets [actor.serial]) then
|
||||
if (not actor.owner and not _detalhes.tabela_pets.pets [actor.serial]) then
|
||||
_detalhes:SendPetOwnerRequest (actor.serial, actor.nome)
|
||||
end
|
||||
end
|
||||
|
||||
+3
-3
@@ -52,8 +52,8 @@
|
||||
local nome = realm
|
||||
local owner_table = dversion
|
||||
|
||||
if (not _detalhes.container_pets.pets [serial]) then
|
||||
_detalhes.container_pets.pets [serial] = owner_table
|
||||
if (not _detalhes.tabela_pets.pets [serial]) then
|
||||
_detalhes.tabela_pets.pets [serial] = owner_table
|
||||
local petActor = _detalhes.tabela_vigente[1]:PegarCombatente (_, nome)
|
||||
if (petActor) then
|
||||
local ownerActor = _detalhes.tabela_vigente[1]:PegarCombatente (owner_table[2], owner_table[1], owner_table[3], true)
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
local petserial = arg6
|
||||
local petnome = arg7
|
||||
local owner_table = _detalhes.container_pets.pets [petserial]
|
||||
local owner_table = _detalhes.tabela_pets.pets [petserial]
|
||||
|
||||
if (owner_table) then
|
||||
if (realm ~= GetRealmName()) then
|
||||
|
||||
Reference in New Issue
Block a user