package com.vanhal.progressiveautomation.compat.mods; import com.vanhal.progressiveautomation.ProgressiveAutomation; import com.vanhal.progressiveautomation.compat.BaseMod; import net.minecraft.item.ItemStack; public class MFR extends BaseMod { public MFR() { modID = "MFR"; } @Override public boolean shouldLoad() { ProgressiveAutomation.logger.info("MFR Loaded"); return true; } @Override public boolean isSapling(ItemStack stack) { if ( (stack != null) && (stack.getItem() != null) ) { return (stack.getUnlocalizedName().compareToIgnoreCase("tile.mfr.rubberwood.sapling")==0); } return false; } }