Fixed the bug that GetItem returns null when the PacksackStack is not empty
This commit is contained in:
parent
8ea04f00be
commit
2661fd2735
|
@ -45,7 +45,7 @@ public class PacksackStack(Packsack packsack) : IItemStack
|
|||
|
||||
public IItem? GetItem()
|
||||
{
|
||||
return Empty ? packsack : null;
|
||||
return Empty ? null : packsack;
|
||||
}
|
||||
|
||||
public IItem? PickItem()
|
||||
|
|
Loading…
Reference in New Issue
Block a user