mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
[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]>
This commit is contained in:
1 file changed
-2
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user