Ported config.

This commit is contained in:
2026-01-09 00:37:25 +01:00
parent 9a0415effd
commit 2262cc5952
3 changed files with 24 additions and 23 deletions

View File

@ -18,10 +18,10 @@ public final class TotemOfReviving {
private static IProxy proxy;
public TotemOfReviving(IEventBus modEventBus) {
public TotemOfReviving(IEventBus modEventBus, ModContainer modContainer) {
proxy = FMLEnvironment.dist == Dist.CLIENT
? new Proxy.Client(modEventBus)
: new Proxy.Server(modEventBus);
? new Proxy.Client(modEventBus, modContainer)
: new Proxy.Server(modEventBus, modContainer);
}
public static ResourceLocation createResourceLocation(String name) {