mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 06:14:41 +00:00
fix configs not reloading when changed from in game gui (old modid)
This commit is contained in:
1 parent
4d610508c6
commit
a88f04ea31
2 files changed
+4
-2
No files matched your search
@@ -18,7 +18,7 @@ public class GuiMekanismConfig extends GuiConfig
|
||||
{
|
||||
public GuiMekanismConfig(GuiScreen parent)
|
||||
{
|
||||
super(parent, getConfigElements(), "Mekanism", false, false, "Mekanism");
|
||||
super(parent, getConfigElements(), Mekanism.MODID, false, false, "Mekanism");
|
||||
}
|
||||
|
||||
private static List<IConfigElement> getConfigElements()
|
||||
|
||||
@@ -151,7 +151,7 @@ import com.mojang.authlib.GameProfile;
|
||||
* @author AidanBrady
|
||||
*
|
||||
*/
|
||||
@Mod(modid = "mekanism", name = "Mekanism", version = "${version}", guiFactory = "mekanism.client.gui.ConfigGuiFactory", useMetadata = true,
|
||||
@Mod(modid = Mekanism.MODID, name = "Mekanism", version = "${version}", guiFactory = "mekanism.client.gui.ConfigGuiFactory", useMetadata = true,
|
||||
acceptedMinecraftVersions = "[1.12,1.13)",
|
||||
dependencies = "required-after:forge@[14.21.0.2373,);" +
|
||||
"after:redstoneflux;" +
|
||||
@@ -167,6 +167,8 @@ import com.mojang.authlib.GameProfile;
|
||||
@Mod.EventBusSubscriber()
|
||||
public class Mekanism
|
||||
{
|
||||
public static final String MODID = "mekanism";
|
||||
|
||||
/** Mekanism Packet Pipeline */
|
||||
public static PacketHandler packetHandler = new PacketHandler();
|
||||
|
||||
|
||||
Reference in new issue
Block a user