mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-24 11:28:22 +02:00
Updated method names of "RemoveItem" as Lua hates overloads.
This commit is contained in:
parent
afe79e6c5f
commit
52da0a671f
2 changed files with 3 additions and 3 deletions
|
@ -272,7 +272,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.player
|
|||
owner.QueuePacket(InventoryEndChangePacket.BuildPacket(owner.actorId));
|
||||
}
|
||||
|
||||
public void RemoveItem(ulong itemDBId)
|
||||
public void RemoveItemByUniqueId(ulong itemDBId)
|
||||
{
|
||||
ushort slot = 0;
|
||||
InventoryItem toDelete = null;
|
||||
|
@ -314,7 +314,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.player
|
|||
|
||||
}
|
||||
|
||||
public void RemoveItem(ushort slot)
|
||||
public void RemoveItemAtSlot(ushort slot)
|
||||
{
|
||||
if (slot >= list.Count)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue