Core/Player: Correct val in SMSG_POWER_UPDATE.
This commit is contained in:
1 parent
699574267c
commit
e3017f6e2a
1 file changed
+1
-1
@@ -13646,7 +13646,7 @@ void Unit::SetPower(Powers power, int32 val)
|
||||
data.append(GetPackGUID());
|
||||
data << uint32(1);//unk
|
||||
data << uint8(GetPowerIndexByClass(power, getClass()));
|
||||
data << uint32(val);
|
||||
data << int32(val);
|
||||
SendMessageToSet(&data, GetTypeId() == TYPEID_PLAYER ? true : false);
|
||||
|
||||
// group update
|
||||
|
||||
Reference in new issue
Block a user