Skip to content

Commit 6f6db15

Browse files
committed
Update InventoryModule.cs
1 parent bf1cc4b commit 6f6db15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SomethingNeedDoing/LuaMacro/Modules/InventoryModule.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public unsafe class InventoryModule : LuaModuleBase
1515

1616
[LuaFunction] public InventoryContainerWrapper GetInventoryContainer(InventoryType container) => new(container);
1717
[LuaFunction]
18-
[Changelog("13.01", ChangelogType.Changed, "Renamed from GetInventoryItem to GetInventoryItemBySlot")]
18+
[Changelog("13.53", ChangelogType.Changed, "Renamed from GetInventoryItem to GetInventoryItemBySlot")]
1919
public InventoryItemWrapper? GetInventoryItemBySlot(InventoryType container, int slot) => new(InventoryManager.Instance()->GetInventoryContainer(container)->GetInventorySlot(slot));
2020

2121
[LuaFunction]
@@ -174,8 +174,8 @@ public InventoryItemWrapper(uint itemId)
174174
[LuaDocs] public ushort Condition => Item->Condition;
175175
[LuaDocs] public uint GlamourId => Item->GlamourId;
176176
[LuaDocs] public bool IsHighQuality => Item->IsHighQuality();
177-
[LuaDocs][Changelog("13.01")] public bool IsCollectable => Item->IsCollectable();
178-
[LuaDocs][Changelog("13.01")] public bool IsEmpty => Item->IsEmpty();
177+
[LuaDocs][Changelog("13.53")] public bool IsCollectable => Item->IsCollectable();
178+
[LuaDocs][Changelog("13.53")] public bool IsEmpty => Item->IsEmpty();
179179
[LuaDocs] public InventoryItemWrapper? LinkedItem => Item->GetLinkedItem() is not null ? new(Item->GetLinkedItem()) : null;
180180

181181
[LuaDocs] public InventoryType Container => Item->Container;

0 commit comments

Comments
 (0)