Fixes error value to big.

This commit is contained in:
hondacrx
2017-07-08 23:27:09 -04:00
parent 81a7609fd4
commit 5f0272b9db
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -17,7 +17,7 @@
namespace Framework.Constants
{
public enum Language : uint
public enum Language : int
{
Universal = 0,
Orcish = 1,
@@ -43,7 +43,7 @@ namespace Framework.Constants
PandarenAlliance = 43,
PandarenHorde = 44,
Rikkitun = 168,
Addon = 0xffffffff // Used By Addons, In 2.4.0 Not Exist, Replaced By Messagetype?
Addon = -1 // Used By Addons, In 2.4.0 Not Exist, Replaced By Messagetype?
}
public enum CypherStrings
+1 -1
View File
@@ -234,7 +234,7 @@ namespace Game.Network.Packets
public override void Write()
{
_worldPacket.WriteUInt8(SlashCmd);
_worldPacket.WriteUInt8(_Language);
_worldPacket.WriteInt8(_Language);
_worldPacket.WritePackedGuid(SenderGUID);
_worldPacket.WritePackedGuid(SenderGuildGUID);
_worldPacket.WritePackedGuid(SenderAccountGUID);