Fixed the bug that GetItem returns null when the PacksackStack is not empty

This commit is contained in:
霧雨烨 2024-06-15 09:04:16 +08:00
parent 8ea04f00be
commit 2661fd2735

View File

@ -45,7 +45,7 @@ public class PacksackStack(Packsack packsack) : IItemStack
public IItem? GetItem()
{
return Empty ? packsack : null;
return Empty ? null : packsack;
}
public IItem? PickItem()