diff options
author | chililisoup <rebot333gaming@gmail.com> | 2025-03-20 15:48:46 -0600 |
---|---|---|
committer | chililisoup <rebot333gaming@gmail.com> | 2025-03-20 15:48:46 -0600 |
commit | 3130381b1c23e42af6fc14e9de951638f5c275b1 (patch) | |
tree | 7a0b7696ad29d594a84d76f3a190a26ffed65ba1 /source/game/StarPlayer.cpp | |
parent | 3f761123e939ece5c8805c165dc625756b950f8b (diff) |
block swapping
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r-- | source/game/StarPlayer.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp index af85cce..43add67 100644 --- a/source/game/StarPlayer.cpp +++ b/source/game/StarPlayer.cpp @@ -1273,6 +1273,10 @@ void Player::triggerPickupEvents(ItemPtr const& item) { } } +ItemPtr Player::essentialItem(EssentialItem essentialItem) const { + return m_inventory->essentialItem(essentialItem); +} + bool Player::hasItem(ItemDescriptor const& descriptor, bool exactMatch) const { return m_inventory->hasItem(descriptor, exactMatch); } |