mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +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;
|
return;
|
||||||
}
|
}
|
||||||
int16_t uses = usesPtr->asInteger();
|
int16_t uses = usesPtr->asInteger();
|
||||||
|
if (uses < 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
switch (item.usesDisplay) {
|
switch (item.usesDisplay) {
|
||||||
case ItemUsesDisplay::NONE:
|
case ItemUsesDisplay::NONE:
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue