Fix References to AE2FC Refactor (#29)

Fixed References to classes in AE2FC that have been either renamed or refactored, as well as a reflection exception due to the refactor.
This commit is contained in:
Beannsss authored and GitHub committed 2023-01-25 08:08:30 +01:00
1 parent 0113d3c98c
commit a21d0cd471
3 files changed
+7 -7

No files matched your search

@@ -14,7 +14,7 @@ import codechicken.nei.recipe.IRecipeHandler;
import com.github.vfyjxf.nee.config.NEEConfig;
import com.github.vfyjxf.nee.network.NEENetworkHandler;
import com.github.vfyjxf.nee.network.packet.PacketCraftingRequest;
import com.glodblock.github.client.gui.GuiFCBaseMonitor;
import com.glodblock.github.client.gui.base.FCGuiMonitor;
import cpw.mods.fml.relauncher.ReflectionHelper;
import java.util.ArrayList;
import java.util.List;
@@ -80,7 +80,7 @@ public class IngredientTracker {
private ItemRepo getRepo() throws IllegalAccessException {
if (isFluidCraftPatternTerm(termGui)) {
return (ItemRepo)
ReflectionHelper.findField(GuiFCBaseMonitor.class, "repo").get(termGui);
ReflectionHelper.findField(FCGuiMonitor.class, "repo").get(termGui);
} else {
return (ItemRepo)
ReflectionHelper.findField(GuiMEMonitorable.class, "repo").get(termGui);