mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Fixed issues Jorge found.
This commit is contained in:
		| @@ -112,7 +112,7 @@ function processNormalShop(player, choice) | ||||
| 			else | ||||
| 				player:SendMessage(0x20, "", "Player sold a thing at slot " .. tostring(sellResult).."."); | ||||
| 				 | ||||
| 				itemToSell = player:GetInventory(0x00):GetItemBySlot(sellResult.slot);	 | ||||
| 				itemToSell = player:GetInventory(0x00):GetItemAtSlot(sellResult.slot);	 | ||||
| 				gItemTOSell = GetItemGamedata(itemToSell.itemId); | ||||
| 				 | ||||
| 				player:GetInventory(0x63):AddItem(shopInfo.shopCurrancy, gItemTOSell.sellPrice); | ||||
|   | ||||
| @@ -58,7 +58,7 @@ function onEventStarted(player, actor, triggerName, invActionInfo, param1, param | ||||
| 	 | ||||
| 	--Equip Item | ||||
| 	if (invActionInfo ~= nil) then		 | ||||
| 		item = player:GetInventory(0):GetItemBySlot(invActionInfo.slot);		 | ||||
| 		item = player:GetInventory(0):GetItemAtSlot(invActionInfo.slot);		 | ||||
| 		equipItem(player, equipSlot, item);			 | ||||
| 		player:SendAppearance(); | ||||
| 	--Unequip Item | ||||
|   | ||||
		Reference in New Issue
	
	Block a user