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
Failed to generate hash of commit

View file

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