Compare commits

...
3 Commits
Author SHA1 Message Date
7ba29fb5aa [2.9.x Bug Fix] Updated Beverage container handling. (#143)
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 13:43:18 -05:00
Léa Gris a17580e04d fix(render): glinting bee item (#141) 2026-11-11 00:17:45 +01:00
UltraProdigy 2031fdc37c ci: run build and test on release branches 2026-11-09 01:04:48 -05:00
3 changed files with 3 additions and 4 deletions

No files matched your search

+2 -2
View File
@@ -3,9 +3,9 @@ name: Build and test
on:
pull_request:
branches: [ master, main ]
branches: [ master, main, release/** ]
push:
branches: [ master, main ]
branches: [ master, main, release/** ]
jobs:
build-and-test:
@@ -27,6 +27,7 @@ public class GuiUtil {
public static void drawItemStack(GuiForestry<?, ?> gui, ItemStack stack, int xPos, int yPos) {
GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
GL11.glEnable(GL11.GL_DEPTH_TEST);
RenderHelper.enableGUIStandardItemLighting();
RenderItem itemRender = GuiForestry.getItemRenderer();
@@ -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();