Don't allow to summon dead hunter pets
Port From (https://github.com/TrinityCore/TrinityCore/commit/92fc09b1b5507c11c9e7ca63e6de0ec7574f0810)
This commit is contained in:
@@ -354,6 +354,18 @@ namespace Game.Networking.Packets
|
||||
public PetTalk Action;
|
||||
}
|
||||
|
||||
class PetTameFailure : ServerPacket
|
||||
{
|
||||
public PetTameFailure() : base(ServerOpcodes.PetTameFailure) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteUInt8(Result);
|
||||
}
|
||||
|
||||
public byte Result;
|
||||
}
|
||||
|
||||
//Structs
|
||||
public class PetSpellCooldown
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user