mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 03:25:18 +00:00
Fix brewing stand input placement not auto-splitting stackable potions. (#8534)
This commit is contained in:
1 parent
e5d4e5d3ab
commit
10ca83e90d
2 files changed
+9
-2
No files matched your search
@@ -1,5 +1,14 @@
|
||||
--- a/net/minecraft/world/inventory/BrewingStandMenu.java
|
||||
+++ b/net/minecraft/world/inventory/BrewingStandMenu.java
|
||||
@@ -75,7 +_,7 @@
|
||||
if (!this.m_38903_(itemstack1, 3, 4, false)) {
|
||||
return ItemStack.f_41583_;
|
||||
}
|
||||
- } else if (BrewingStandMenu.PotionSlot.m_39133_(itemstack) && itemstack.m_41613_() == 1) {
|
||||
+ } else if (BrewingStandMenu.PotionSlot.m_39133_(itemstack)) {
|
||||
if (!this.m_38903_(itemstack1, 0, 3, false)) {
|
||||
return ItemStack.f_41583_;
|
||||
}
|
||||
@@ -146,7 +_,7 @@
|
||||
}
|
||||
|
||||
|
||||
@@ -137,8 +137,6 @@ public class BrewingRecipeRegistry {
|
||||
*/
|
||||
public static boolean isValidInput(ItemStack stack)
|
||||
{
|
||||
if (stack.getCount() != 1) return false;
|
||||
|
||||
for (IBrewingRecipe recipe : recipes)
|
||||
{
|
||||
if (recipe.isInput(stack))
|
||||
|
||||
Reference in new issue
Block a user