mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Merge branch 'main' into lua_audio
This commit is contained in:
commit
f5b4976b18
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ void InventoryView::bind(
|
|||
}
|
||||
|
||||
void InventoryView::unbind() {
|
||||
if (inventory->isVirtual()) {
|
||||
if (inventory && inventory->isVirtual()) {
|
||||
frontend->getLevel()->inventories->remove(inventory->getId());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue