Skip to content

Commit

Permalink
Revert "Fix embeddium compat"
Browse files Browse the repository at this point in the history
This reverts commit c4f0cfd.
  • Loading branch information
dima-dencep committed Feb 12, 2024
1 parent d5a51c0 commit 84a28ca
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import net.coderbot.iris.Iris;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Group;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

Expand All @@ -16,7 +15,6 @@
*/
@Mixin(SodiumGameOptions.class)
public class MixinSodiumGameOptions {
@Group(name = "oculus$embeddiumCompat", max = 1, min = 1)
@Inject(method = "writeToDisk", at = @At("RETURN"), remap = false)
private static void iris$writeIrisConfig(CallbackInfo ci) {
try {
Expand All @@ -27,12 +25,4 @@ public class MixinSodiumGameOptions {
e.printStackTrace();
}
}

@Group(name = "oculus$embeddiumCompat", max = 1, min = 1)
@Inject(method = "writeChanges", at = @At("RETURN"), remap = false)
private void oculus$writeIrisConfig(CallbackInfo ci) { // TODO lovely embeddium
Iris.logger.warn("Ask embeddedt to update names of methods!");

iris$writeIrisConfig(ci);
}
}

0 comments on commit 84a28ca

Please sign in to comment.