From 51d35d9de8b4e0a2882860605c1b159d54ba58a6 Mon Sep 17 00:00:00 2001 From: kappa-maintainer <11038263+kappa-maintainer@users.noreply.github.com> Date: Tue, 2 Jan 2024 10:12:10 +0800 Subject: [PATCH] Fix INetworkSF Crash (#11) --- .../com/nomiceu/nomilabs/mixin/solarflux/INetworkSF.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/nomiceu/nomilabs/mixin/solarflux/INetworkSF.java b/src/main/java/com/nomiceu/nomilabs/mixin/solarflux/INetworkSF.java index 60f01741..bc669208 100644 --- a/src/main/java/com/nomiceu/nomilabs/mixin/solarflux/INetworkSF.java +++ b/src/main/java/com/nomiceu/nomilabs/mixin/solarflux/INetworkSF.java @@ -9,11 +9,8 @@ @SuppressWarnings("unused") @Mixin(value = NetworkSF.class, remap = false) -public class INetworkSF { - @Shadow - @Mutable - @Final - public static NetworkSF INSTANCE; +public interface INetworkSF { + @Accessor public static void setINSTANCE(NetworkSF instance) {}