mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Fix for bandolier 2H-weapon exploit
This commit is contained in:
parent
62888170b0
commit
542dc16752
@ -2721,6 +2721,8 @@ void Client::CreateBandolier(const EQApplicationPacket *app)
|
||||
const EQEmu::ItemBase *BaseItem = nullptr;
|
||||
int16 WeaponSlot = 0;
|
||||
|
||||
database.DeleteCharacterBandolier(this->CharacterID(), bs->Number);
|
||||
|
||||
for(int BandolierSlot = bandolierPrimary; BandolierSlot <= bandolierAmmo; BandolierSlot++) {
|
||||
WeaponSlot = BandolierSlotToWeaponSlot(BandolierSlot);
|
||||
InvItem = GetInv()[WeaponSlot];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user