Compare commits

..
2 Commits
Author SHA1 Message Date
boubou19andFirewooddoge baad92797e Fix Beealyzer mutation icons disappearing (#146) (#147)
Co-authored-by: Firewooddoge <[email protected]>
2026-11-24 21:46:30 +01:00
5c433d2e24 [2.9.x Bug Fix] Updated Beverage container handling. (#143) (#145)
Co-authored-by: UltraProdigy <[email protected]>
Co-authored-by: boubou19 <[email protected]>
Co-authored-by: Léa Gris <[email protected]>
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Armisael5 <[email protected]>
2026-11-20 20:07:18 +01:00
2 changed files with 2 additions and 2 deletions

No files matched your search

@@ -32,6 +32,7 @@ public class GuiUtil {
RenderItem itemRender = GuiForestry.getItemRenderer();
GL11.glPushMatrix();
GL11.glTranslatef(0.0F, 0.0F, 32.0F);
gui.setZLevel(100.0F);
itemRender.zLevel = 100.0F;
@@ -46,6 +47,7 @@ public class GuiUtil {
itemRender.renderItemOverlayIntoGUI(font, gui.mc.getTextureManager(), stack, xPos, yPos);
gui.setZLevel(0.0F);
itemRender.zLevel = 0.0F;
GL11.glPopMatrix();
RenderHelper.disableStandardItemLighting();
GL11.glPopAttrib();
@@ -69,8 +69,6 @@ public class ItemBeverage extends ItemForestryFood {
itemstack.stackSize--;
if (!entityplayer.inventory.addItemStackToInventory(container)) {
entityplayer.dropPlayerItemWithRandomChoice(container, false);
} else {
entityplayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem, container);
}
entityplayer.inventory.markDirty();