Skip to content

Commit

Permalink
grfhrteyjytjye
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-dencep committed Dec 8, 2023
1 parent 60fdc7f commit 018fc3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ public class MixinDirectoryLister {
@Final
private String idPrefix;

/**
* @author Asek3
* @reason ModifyArgs on forge
*/
@Overwrite
public void run(ResourceManager resourceManager, SpriteSource.Output output) {
FileToIdConverter fileToIdConverter = new FileToIdConverter("textures/" + sourcePath, ".png");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.coderbot.iris.compat.sodium.mixin;

import net.minecraftforge.fml.loading.FMLLoader;
import net.minecraftforge.fml.loading.LoadingModList;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
Expand All @@ -19,7 +19,7 @@ public class IrisSodiumCompatMixinPlugin implements IMixinConfigPlugin {

@Override
public void onLoad(String mixinPackage) {
isRubidiumLoaded = FMLLoader.getLoadingModList().getModFileById("rubidium") != null;
isRubidiumLoaded = LoadingModList.get().getModFileById("rubidium") != null;
}

@Override
Expand Down

0 comments on commit 018fc3e

Please sign in to comment.