2015-05-25 11:48:26 +00:00
|
|
|
--- ../src-base/minecraft/cpw/mods/fml/common/discovery/ModDiscoverer.java
|
|
|
|
+++ ../src-work/minecraft/cpw/mods/fml/common/discovery/ModDiscoverer.java
|
2015-05-29 10:24:31 +00:00
|
|
|
@@ -16,7 +16,9 @@
|
|
|
|
import java.util.List;
|
|
|
|
import java.util.regex.Matcher;
|
|
|
|
import java.util.regex.Pattern;
|
|
|
|
+
|
|
|
|
import org.apache.logging.log4j.Level;
|
|
|
|
+
|
|
|
|
import com.google.common.base.Throwables;
|
|
|
|
import com.google.common.collect.ImmutableList;
|
|
|
|
import com.google.common.collect.Lists;
|
|
|
|
@@ -148,6 +150,17 @@
|
2015-05-25 11:48:26 +00:00
|
|
|
}
|
|
|
|
}
|
2015-05-29 10:24:31 +00:00
|
|
|
|
|
|
|
+ if (!"false".equals(System.getProperty("kcauldron.fastcraft.disable", "true"))) {
|
|
|
|
+ java.util.Iterator<ModContainer> iterator = modList.iterator();
|
|
|
|
+ while(iterator.hasNext()) {
|
|
|
|
+ ModContainer container = iterator.next();
|
|
|
|
+ if ("FastCraft".equals(container.getModId())) {
|
|
|
|
+ FMLLog.log(Level.WARN, "Found FastCraft mod, removing it...");
|
|
|
|
+ iterator.remove();
|
|
|
|
+ }
|
2015-05-25 11:48:26 +00:00
|
|
|
+ }
|
|
|
|
+ }
|
2015-05-29 10:24:31 +00:00
|
|
|
+
|
2015-05-25 11:48:26 +00:00
|
|
|
return modList;
|
|
|
|
}
|
2015-05-29 10:24:31 +00:00
|
|
|
|