
Broken for servers
AzureDoom opened this issue ยท 0 comments
[01.09 05:34:00] [Server] java.lang.RuntimeExceptionCould not execute entrypoint stage 'main' due to errors, provided by 'advancedgenetics'!
[01.09 05:34:00] [Server] at Not Enough Crashes deobfuscated stack trace.(1.19.2+build.8) ~[?:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.lambda$invoke0$0(EntrypointUtils.java:51) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:49) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.game.minecraft.Hooks.startServer(Hooks.java:62) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.minecraft.server.Main.main(Main:101) [server-intermediary.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] Caused byjava.lang.RuntimeException: Cannot load class net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents in environment type SERVER
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.transformer.FabricTransformer.transform(FabricTransformer.java:59) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPreMixinClassByteArray(KnotClassDelegate.java:454) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:407) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:323) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) ~[fabric-loader-0.14.9.jar:?]
[01.09 05:34:00] [Server] at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
[01.09 05:34:00] [Server] at com.technovision.advancedgenetics.client.ClientEvents.propertyOverrideRegistry(ClientEvents.java:16) ~[AdvancedGenetics-1.19.2-1.0.0.jar:?]
[01.09 05:34:00] [Server] at com.technovision.advancedgenetics.AdvancedGenetics.onInitialize(AdvancedGenetics.java:42) ~[AdvancedGenetics-1.19.2-1.0.0.jar:?]
[01.09 05:34:00] [Server] at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) ~[fabric-loader-0.14.9.jar:?]
You need to move https://github.com/TechnoVisionDev/Advanced-Genetics/blob/master/src/main/java/com/technovision/advancedgenetics/AdvancedGenetics.java#L42 to https://github.com/TechnoVisionDev/Advanced-Genetics/blob/master/src/main/java/com/technovision/advancedgenetics/AdvancedGeneticsClient.java#L19