mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-25 22:27:45 +00:00
Fixed equip command breaking due to gearset referencing slot not actual item in slot.
This commit is contained in:
parent
fea8638775
commit
e91960040c
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ function loadGearset(player, classId)
|
|||
for slot = 0, 34 do
|
||||
|
||||
if (slot ~= EQUIPSLOT_MAINHAND and slot ~= EQUIPSLOT_UNDERSHIRT and slot ~= EQUIPSLOT_UNDERGARMENT) then
|
||||
itemAtSlot = slot;
|
||||
itemAtSlot = player:GetEquipment():GetItemAtSlot(slot);
|
||||
itemAtGearsetSlot = gearset[slot];
|
||||
|
||||
if (itemAtSlot ~= nil or itemAtGearsetSlot ~= nil) then
|
||||
|
|
Loading…
Add table
Reference in a new issue