feat: display a handheld item in first-person view (WIP)
This commit is contained in:
@@ -252,7 +252,7 @@ entityid_t Player::getSelectedEntity() const {
|
||||
return selectedEid;
|
||||
}
|
||||
|
||||
std::shared_ptr<Inventory> Player::getInventory() const {
|
||||
const std::shared_ptr<Inventory>& Player::getInventory() const {
|
||||
return inventory;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user