Changed SIDE_PROXY to PROXY and type ISideProxy.

This commit is contained in:
2022-01-16 16:48:53 +00:00
parent b1975e912e
commit d3613c5eda

View File

@ -31,11 +31,11 @@ public final class TotemOfReviving {
public static final Logger LOGGER = LogManager.getLogger(MOD_NAME);
public static TotemOfReviving INSTANCE;
public static SideProxy SIDE_PROXY;
public static ISideProxy PROXY;
public TotemOfReviving() {
INSTANCE = this;
SIDE_PROXY = DistExecutor.safeRunForDist(
PROXY = DistExecutor.safeRunForDist(
() -> SideProxy.Client::new,
() -> SideProxy.Server::new
);