Use component like system for gui overlay
Add missing abort path replay button
This commit is contained in:
@@ -47,7 +47,7 @@ public class ReplayMod {
|
||||
public static final ApiClient apiClient = new ApiClient();
|
||||
private static final Minecraft mc = Minecraft.getMinecraft();
|
||||
public static GuiEventHandler guiEventHandler;
|
||||
public static GuiReplayOverlay overlay = new GuiReplayOverlay();
|
||||
public static GuiReplayOverlay overlay;
|
||||
public static ReplaySettings replaySettings;
|
||||
public static Configuration config;
|
||||
public static boolean firstMainMenu = true;
|
||||
@@ -89,6 +89,8 @@ public class ReplayMod {
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
overlay = new GuiReplayOverlay();
|
||||
|
||||
FMLCommonHandler.instance().bus().register(new ConnectionEventHandler());
|
||||
MinecraftForge.EVENT_BUS.register(guiEventHandler = new GuiEventHandler());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user