Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 6c667ab

Browse files
committed
fixes
1 parent 6244125 commit 6c667ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/lins/mmmjjkx/rykenslimefuncustomizer/utils/CommonUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class CommonUtils {
4444

4545
static {
4646
try {
47-
DELEGATE = MethodHandles.lookup().findVarHandle(SlimefunItemStack.class, "delegate", ItemStack.class);
47+
DELEGATE = MethodHandles.privateLookupIn(SlimefunItemStack.class, MethodHandles.lookup()).findVarHandle(SlimefunItemStack.class, "delegate", ItemStack.class);
4848
} catch (NoSuchFieldException | IllegalAccessException e) {
4949
throw new RuntimeException(e);
5050
}

0 commit comments

Comments
 (0)