And the core patches for that

This commit is contained in:
Christian committed 2013-03-30 12:13:53 -04:00
1 parent 26ccb9106e
commit eff464cf0e
2 files changed
+10 -3

No files matched your search

@@ -1,10 +1,17 @@
--- ../src-base/minecraft/net/minecraft/client/ClientBrandRetriever.java
+++ ../src-work/minecraft/net/minecraft/client/ClientBrandRetriever.java
@@ -8,6 +8,6 @@
@@ -1,5 +1,6 @@
package net.minecraft.client;
+import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@@ -8,6 +9,6 @@
{
public static String getClientModName()
{
- return "vanilla";
+ return "fml";
+ return FMLCommonHandler.instance().getModName();
}
}
@@ -99,7 +99,7 @@
public String getServerModName()
{
- return "vanilla";
+ return "fml";
+ return FMLCommonHandler.instance().getModName();
}
public CrashReport func_71230_b(CrashReport p_71230_1_)