mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-15 17:05:09 +01:00
MidnightLib 1.5.5
- Fixed button always being visible - Various visual improvements
This commit is contained in:
@@ -23,6 +23,6 @@ public class PlatformFunctionsImpl {
|
||||
return ModList.get().isLoaded(modid);
|
||||
}
|
||||
public static void registerCommand(LiteralArgumentBuilder<ServerCommandSource> command) {
|
||||
// Ignored here, see MidnightLibServerEvents#registerCommands
|
||||
// Ignored here, see MidnightLibNeoForge#registerCommands
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,13 +38,6 @@ public class MidnightLibNeoForge {
|
||||
});
|
||||
}
|
||||
}
|
||||
@Mod.EventBusSubscriber(modid = "midnightlib", value = Dist.CLIENT)
|
||||
public static class MidnightLibClientEvents {
|
||||
@SubscribeEvent
|
||||
public static void afterInitScreen(ScreenEvent.Init.Post event) {
|
||||
MidnightConfigOverviewScreen.addButtonToOptionsScreen(event.getScreen(), event.getScreen().getMinecraft());
|
||||
}
|
||||
}
|
||||
|
||||
@Mod.EventBusSubscriber(modid = "midnightlib", value = Dist.DEDICATED_SERVER)
|
||||
public static class MidnightLibServerEvents {
|
||||
|
||||
Reference in New Issue
Block a user