mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
feat: display a handheld item in first-person view (WIP)
This commit is contained in:
parent
fb17228eff
commit
b93668ba94
9 changed files with 110 additions and 38 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue