@@ -0,0 +1,1182 @@
+package tehnut.resourceful.crops.api.util.cache;%0A%0Aimport com.google.common.collect.Lists;%0Aimport cpw.mods.fml.common.FMLCommonHandler;%0A%0Aimport java.io.File;%0Aimport java.util.List;%0A%0A/**%0A * @author tterrag%0A */%0Apublic class PermanentCache%3CI%3E extends WorldCache%3CI%3E %7B%0A%0A    private static final List%3CPermanentCache%3C?%3E%3E allCaches = Lists.newArrayList();%0A%0A    public PermanentCache(String ident) %7B%0A        super(ident);%0A        loadData(getSaveFile());%0A    %7D%0A%0A    @Override%0A    protected File getSaveFile() %7B%0A        return FMLCommonHandler.instance().getSide().isServer() ? new File(ident + %22.dat%22) : new File(%22saves%22, ident + %22.dat%22);%0A    %7D%0A%0A    @Override%0A    protected void blockOldIDs() %7B%0A        if (!objToName.isEmpty()) %7B%0A            super.blockOldIDs();%0A        %7D%0A    %7D%0A%0A    @Override%0A    protected void mergeNewIDs() %7B%0A        if (!objToName.isEmpty()) %7B%0A            super.mergeNewIDs();%0A        %7D%0A    %7D%0A%0A    @Override%0A    public void addObject(I object, String name) %7B%0A        super.addObject(object, name);%0A        setID(name);%0A    %7D%0A%0A    public static void saveCaches() %7B%0A        for (PermanentCache%3C?%3E c : allCaches) %7B%0A            c.saveData(c.getSaveFile());%0A        %7D%0A    %7D%0A%7D

Revert "Fix build error by deleting unused API class"