Merge pull request #2035 from Camotoy/brewingstandquickfix

Fix brewing stand fuel input
This commit is contained in:
Camotoy 2021-03-13 23:21:24 -05:00 committed by GitHub
commit 2ebd7dc86b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,8 @@ public class BrewingInventoryTranslator extends AbstractBlockInventoryTranslator
return 3; return 3;
case 3: case 3:
return 0; return 0;
case 4:
return 4;
} }
return super.javaSlotToBedrock(slot); return super.javaSlotToBedrock(slot);
} }
@ -105,7 +107,7 @@ public class BrewingInventoryTranslator extends AbstractBlockInventoryTranslator
case 3: case 3:
return new BedrockContainerSlot(ContainerSlotType.BREWING_INPUT, 0); return new BedrockContainerSlot(ContainerSlotType.BREWING_INPUT, 0);
case 4: case 4:
return new BedrockContainerSlot(ContainerSlotType.BREWING_INPUT, 0); return new BedrockContainerSlot(ContainerSlotType.BREWING_FUEL, 4);
} }
return super.javaSlotToBedrockContainer(slot); return super.javaSlotToBedrockContainer(slot);
} }