Merge pull request #459 from gamrguy/render-fix

Fix unsided filters that shouldn't render
This commit is contained in:
LordGrimmauld 2020-09-13 11:37:56 +02:00 committed by GitHub
commit a015901571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,12 +117,12 @@ public class FilteringRenderer {
}
sided.fromSide(side);
return;
} else if(slotPositioning.shouldRender(blockState)) {
ms.push();
slotPositioning.transform(blockState, ms);
ValueBoxRenderer.renderItemIntoValueBox(behaviour.getFilter(), ms, buffer, light, overlay);
ms.pop();
}
ms.push();
slotPositioning.transform(blockState, ms);
ValueBoxRenderer.renderItemIntoValueBox(behaviour.getFilter(), ms, buffer, light, overlay);
ms.pop();
}
}