mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-20 04:09:40 +00:00
Fix #2803
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user