Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny-Hui committed Feb 9, 2025
1 parent 738a07e commit 6fbed45
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
import com.lx862.mtrscripting.api.ScriptingAPI;
import com.lx862.mtrscripting.scripting.util.GraphicsTexture;

import com.mojang.brigadier.exceptions.CommandSyntaxException;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.NotImplementedException;
import org.mtr.mapping.holder.CompoundTag;
import vendor.com.lx862.jcm.org.mozilla.javascript.Context;
import vendor.com.lx862.jcm.org.mozilla.javascript.Scriptable;
Expand Down Expand Up @@ -196,7 +194,7 @@ public static Font readFont(Identifier identifier) {
}

public static CompoundTag readNbtString(String str) {
throw new NotImplementedException();
throw new IllegalArgumentException("Method not implemented in JCM");
// #if LOADER == "forge"
// return new CompoundTag(net.minecraft.nbt.TagParser.parseTag(str));
// #else
Expand Down

0 comments on commit 6fbed45

Please sign in to comment.