mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Fixed equip command breaking due to gearset referencing slot not actual item in slot.
This commit is contained in:
		| @@ -85,7 +85,7 @@ function loadGearset(player, classId) | |||||||
| 	for slot = 0, 34 do | 	for slot = 0, 34 do | ||||||
| 	 | 	 | ||||||
| 		if (slot ~= EQUIPSLOT_MAINHAND and slot ~= EQUIPSLOT_UNDERSHIRT and slot ~= EQUIPSLOT_UNDERGARMENT) then | 		if (slot ~= EQUIPSLOT_MAINHAND and slot ~= EQUIPSLOT_UNDERSHIRT and slot ~= EQUIPSLOT_UNDERGARMENT) then | ||||||
| 			itemAtSlot = slot; | 			itemAtSlot = player:GetEquipment():GetItemAtSlot(slot); | ||||||
| 			itemAtGearsetSlot = gearset[slot]; | 			itemAtGearsetSlot = gearset[slot]; | ||||||
| 			 | 			 | ||||||
| 			if (itemAtSlot ~= nil or itemAtGearsetSlot ~= nil) then		 | 			if (itemAtSlot ~= nil or itemAtGearsetSlot ~= nil) then		 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user