Skip to content

Commit

Permalink
Added runtime compat for KubeJS
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Jan 30, 2025
1 parent 1775e0d commit 3e3b7ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/dev/latvian/mods/rhino/JavaMembers.java
Original file line number Diff line number Diff line change
Expand Up @@ -686,11 +686,13 @@ public static class MethodInfo {
public final CachedMethodInfo.Accessible cached;
public final Method method;
public final String name;
public final boolean hidden;

public MethodInfo(CachedMethodInfo.Accessible cached) {
this.cached = cached;
this.method = cached.getInfo().method;
this.name = cached.getName();
this.hidden = cached.isHidden();
}
}
}
Expand Down

0 comments on commit 3e3b7ce

Please sign in to comment.