FIxed #833, stopped TT Infused seeds planter thinking it knew what to do with vanilla

This commit is contained in:
nekosune committed 2016-02-08 15:29:28 +00:00
1 parent 5874de06d7
commit 417e86a4ca
1 file changed
+1 -1
@@ -30,7 +30,7 @@ public class InfusedSeedsPlanter extends PlantableFarmer implements ICompat{
@Override
protected boolean canPlant(World worldObj, BlockCoord bc, IPlantable plantable) {
return super.canPlant(worldObj, bc, plantable) || worldObj.getBlock(bc.x,bc.y-1,bc.z)==ThaumicTinkerer.registry.getFirstBlockFromClass(BlockInfusedFarmland.class);
return (super.canPlant(worldObj, bc, plantable) && plantable==ThaumicTinkerer.registry.getFirstItemFromClass(ItemInfusedSeeds.class) )|| worldObj.getBlock(bc.x,bc.y-1,bc.z)==ThaumicTinkerer.registry.getFirstBlockFromClass(BlockInfusedFarmland.class);
}
@Override