fix: Forge nonsense
This commit is contained in:
parent
743e7e3ea1
commit
8dd209899f
2 changed files with 10 additions and 2 deletions
|
@ -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());
|
||||
}
|
||||
}
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue