Fix polluting global item renderer Z offset
This commit is contained in:
parent
e5f81569f9
commit
495af87688
@ -69,6 +69,8 @@ public abstract class AbstractSlotPanel extends EditablePanel {
|
||||
RenderSystem.depthFunc(GL_ALWAYS);
|
||||
screen.getItemRenderer().renderGuiItemDecorations(screen.getFont(), itemstack, 0, 0, count_override);
|
||||
|
||||
screen.getItemRenderer().blitOffset = 0;
|
||||
|
||||
// too big accumulations can lead to Z near clipping issues
|
||||
accumulate3DHeight(101);
|
||||
height = 101;
|
||||
|
Loading…
Reference in New Issue
Block a user