mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Fixed issues Jorge found.
This commit is contained in:
parent
16e99040e0
commit
a309e651da
4 changed files with 15 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue