fix: Forge nonsense

This commit is contained in:
Octol1ttle 2024-05-06 20:20:59 +05:00
parent 743e7e3ea1
commit 8dd209899f
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
2 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1,9 @@
package ru.octol1ttle.knockdowns.forge;
import net.minecraftforge.client.event.RenderGuiEvent;
public class KnockdownsClientForge {
public static void onHudRender(RenderGuiEvent.Pre event) {
ru.octol1ttle.knockdowns.common.events.KnockdownsClientEvents.onHudRender(event.getGuiGraphics());
}
}

View file

@ -10,7 +10,6 @@ import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import ru.octol1ttle.knockdowns.common.KnockdownsClient;
import ru.octol1ttle.knockdowns.common.KnockdownsCommon;
import ru.octol1ttle.knockdowns.common.events.KnockdownsClientEvents;
@SuppressWarnings("unused")
@Mod(KnockdownsCommon.MOD_ID)
@ -31,6 +30,6 @@ public class KnockdownsForge {
@SubscribeEvent
public void onHudRender(RenderGuiEvent.Pre event) {
KnockdownsClientEvents.onHudRender(event.getGuiGraphics());
KnockdownsClientForge.onHudRender(event);
}
}