From e9789eccfcd9b62937ef2ff7bd4f1cff52e5b8c6 Mon Sep 17 00:00:00 2001 From: Prototik Date: Sun, 17 May 2015 11:58:43 +0700 Subject: [PATCH] Add KCauldron to fml brandings --- patches/cpw/mods/fml/common/FMLCommonHandler.java.patch | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/patches/cpw/mods/fml/common/FMLCommonHandler.java.patch b/patches/cpw/mods/fml/common/FMLCommonHandler.java.patch index 78d0b52..83c4719 100644 --- a/patches/cpw/mods/fml/common/FMLCommonHandler.java.patch +++ b/patches/cpw/mods/fml/common/FMLCommonHandler.java.patch @@ -24,13 +24,14 @@ handlerSet.add(handler); handlerToCheck = new WeakReference(handler); // for confirmBackupLevelDatUse Map additionalProperties = Maps.newHashMap(); -@@ -496,7 +501,12 @@ +@@ -496,7 +501,13 @@ public String getModName() { - List modNames = Lists.newArrayListWithExpectedSize(3); + // Cauldron start + List modNames = Lists.newArrayListWithExpectedSize(6); ++ modNames.add("kcauldron"); + modNames.add("cauldron"); + modNames.add("craftbukkit"); + modNames.add("mcpc"); @@ -38,7 +39,7 @@ modNames.add("fml"); if (!noForge) { -@@ -540,8 +550,17 @@ +@@ -540,8 +551,17 @@ bus().post(new InputEvent.KeyInputEvent()); }