mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
f0448c3080
commit
64e433593c
1 changed files with 3 additions and 0 deletions
|
|
@ -241,6 +241,9 @@ void SlotView::drawItemInfo(
|
|||
return;
|
||||
}
|
||||
int16_t uses = usesPtr->asInteger();
|
||||
if (uses < 0) {
|
||||
return;
|
||||
}
|
||||
switch (item.usesDisplay) {
|
||||
case ItemUsesDisplay::NONE:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue