fix(Core/Misc): restore playercreateinfo_item item deletion functionality (#7470)
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1629485842027723200');
|
||||||
|
|
||||||
|
ALTER TABLE `playercreateinfo_item`
|
||||||
|
CHANGE `amount` `amount` INT SIGNED NOT NULL DEFAULT 1;
|
||||||
|
|
||||||
|
DELETE FROM `playercreateinfo_item` WHERE `itemid` = 40582;
|
||||||
|
INSERT INTO `playercreateinfo_item` (`race`, `class`, `itemid`, `amount`, `Note`) VALUES (0, 6, 40582, -1, "[TDB PH] - unsused Scourgestone");
|
||||||
@@ -3458,7 +3458,7 @@ void ObjectMgr::LoadPlayerInfo()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
int32 amount = fields[3].GetUInt16();
|
int32 amount = fields[3].GetInt32();
|
||||||
|
|
||||||
if (!amount)
|
if (!amount)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user