mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Fix: Force rogues not to steal stuff during charcreation - it stole a double set of startingweapons intead of a single set (Thanks to BioHazard for the note)
--HG-- branch : trunk
This commit is contained in:
@@ -782,12 +782,6 @@ bool Player::Create(uint32 guidlow, const std::string& name, uint8 race, uint8 c
|
||||
if (iProto->Stackable < count)
|
||||
count = iProto->Stackable;
|
||||
}
|
||||
// special amount for daggers
|
||||
else if (iProto->Class == ITEM_CLASS_WEAPON && iProto->SubClass == ITEM_SUBCLASS_WEAPON_DAGGER)
|
||||
{
|
||||
count = 2; // will placed to 2 slots
|
||||
}
|
||||
|
||||
StoreNewItemInBestSlots(item_id, count);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user