Skip to content

Commit

Permalink
Fixed crash on dedicated server
Browse files Browse the repository at this point in the history
  • Loading branch information
LatvianModder committed Jan 8, 2024
1 parent d1aad04 commit d7da112
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public KubeJSForge() throws Throwable {
KubeJSCreativeTabs.init();
}

DistExecutor.safeRunWhenOn(Dist.CLIENT, () -> KubeJSForgeClient::new);
//noinspection Convert2MethodRef
DistExecutor.safeRunWhenOn(Dist.CLIENT, () -> () -> new KubeJSForgeClient());
}

private static void initRegistries(RegisterEvent event) {
Expand Down

0 comments on commit d7da112

Please sign in to comment.