This commit is contained in:
Vincent Lee committed 2018-12-13 17:43:53 -06:00
1 parent 642e5fecf2
commit 136696d9d7
1 file changed
+1 -1
@@ -74,7 +74,7 @@ public class TileBrewery extends TileSimpleInventory implements IManaReceiver, I
if(did) {
VanillaPacketDispatcher.dispatchTEToNearbyPlayers(world, pos);
for(RecipeBrew recipe : BotaniaAPI.brewRecipes)
if(recipe.matches(itemHandler) && recipe.getOutput(itemHandler.getStackInSlot(0)) != null) {
if(recipe.matches(itemHandler) && !recipe.getOutput(itemHandler.getStackInSlot(0)).isEmpty()) {
this.recipe = recipe;
world.setBlockState(pos, ModBlocks.brewery.getDefaultState().withProperty(BotaniaStateProps.POWERED, true), 1 | 2);
}