The Mana Enchanter can be constructed with Glimmering Flowers now. Closes #83

This commit is contained in:
Vasco Lavos committed 2014-06-04 15:14:19 +01:00
1 parent 5000a5f5cf
commit 7a9ecb0db8
1 file changed
+6 -2
@@ -14,6 +14,7 @@ package vazkii.botania.common.block.tile;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
@@ -347,9 +348,12 @@ public class TileEnchanter extends TileMod implements IManaReceiver {
world.getBlock(pylon[0] + x, pylon[1] + y - 1, pylon[2] + z) != ModBlocks.flower)
return false;
for(int[] flower : FLOWER_LOCATIONS)
if(world.getBlock(flower[0] + x, flower[1] + y, flower[2] + z) != ModBlocks.flower)
for(int[] flower : FLOWER_LOCATIONS) {
Block block = world.getBlock(flower[0] + x, flower[1] + y, flower[2] + z);
if(block != ModBlocks.flower && block != ModBlocks.shinyFlower)
return false;
}
return true;
}