mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
fix #100 when only select platinum not all recipes works
This commit is contained in:
2 files changed
+8
-1
No files matched your search
@@ -161,6 +161,7 @@ public class Mekanism
|
||||
public static Configuration configurationrecipes;
|
||||
|
||||
public static Configuration configurationce;
|
||||
public static String OSMIUMSELECT = "Osmium";
|
||||
|
||||
/** Mekanism version number */
|
||||
public static Version versionNumber = new Version(GRADLE_VERSIONMOD);
|
||||
@@ -1511,6 +1512,10 @@ public class Mekanism
|
||||
proxy.loadConfiguration();
|
||||
proxy.onConfigSync(false);
|
||||
|
||||
if (MekanismConfig.mekce.OreDictPlatinum && !MekanismConfig.mekce.OreDictOsmium) {
|
||||
OSMIUMSELECT = "Platinum";
|
||||
}
|
||||
|
||||
//Add baby skeleton spawner
|
||||
if(general.spawnBabySkeletons)
|
||||
{
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package mekanism.common;
|
||||
|
||||
import static mekanism.common.Mekanism.OSMIUMSELECT;
|
||||
|
||||
public enum Resource
|
||||
{
|
||||
IRON("Iron"),
|
||||
GOLD("Gold"),
|
||||
OSMIUM("Osmium"),
|
||||
OSMIUM(OSMIUMSELECT),
|
||||
COPPER("Copper"),
|
||||
TIN("Tin"),
|
||||
SILVER("Silver"),
|
||||
|
||||
Reference in new issue
Block a user