And the core patches for that

This commit is contained in:
Christian 2013-03-30 12:13:53 -04:00
parent 41cd50d4c0
commit 5be6e8b756
2 changed files with 10 additions and 3 deletions

View File

@ -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();
}
}

View File

@ -99,7 +99,7 @@
public String getServerModName()
{
- return "vanilla";
+ return "fml";
+ return FMLCommonHandler.instance().getModName();
}
public CrashReport func_71230_b(CrashReport p_71230_1_)