From 5dcf685258d1b22e2af5cdf531c0ff58ecc73822 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 6 Jul 2017 11:03:57 -0400 Subject: [PATCH] Fixes pet loading. --- Game/Entities/Pet.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Game/Entities/Pet.cs b/Game/Entities/Pet.cs index a68b8bbd6..4c7f0b471 100644 --- a/Game/Entities/Pet.cs +++ b/Game/Entities/Pet.cs @@ -858,7 +858,7 @@ namespace Game.Entities uint effectIndex = result.Read(3); if (effectIndex < SpellConst.MaxEffects) { - casterGuid.SetRawValue(result.Read(0).ToByteArray()); + casterGuid.SetRawValue(result.Read(0)); if (casterGuid.IsEmpty()) casterGuid = GetGUID(); @@ -881,7 +881,7 @@ namespace Game.Entities do { // NULL guid stored - pet is the caster of the spell - see Pet._SaveAuras - casterGuid.SetRawValue(result.Read(0).ToByteArray()); + casterGuid.SetRawValue(result.Read(0)); if (casterGuid.IsEmpty()) casterGuid = GetGUID();