hud.get_block_inventory and inventory.move
This commit is contained in:
@@ -564,3 +564,10 @@ void Hud::setPause(bool pause) {
|
||||
Player* Hud::getPlayer() const {
|
||||
return player;
|
||||
}
|
||||
|
||||
std::shared_ptr<Inventory> Hud::getBlockInventory() {
|
||||
if (blockUI == nullptr) {
|
||||
return nullptr;
|
||||
}
|
||||
return blockUI->getInventory();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user