Remove deprecated api..
This commit is contained in:
parent
454b255f1b
commit
8081ba10df
1 changed files with 3 additions and 6 deletions
|
@ -54,8 +54,6 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.*;
|
||||
import java.time.LocalDate;
|
||||
import java.time.ZoneId;
|
||||
import java.util.*;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
@ -257,10 +255,9 @@ public class GT_Mod implements IGT_Mod {
|
|||
gregtechproxy.mAddGTRecipesToIC2Machines = tMainConfig.get("general", "AddGTRecipesToIC2Machines", true).getBoolean(true);
|
||||
gregtechproxy.mUndergroundOil.getConfig(tMainConfig, "undergroundfluid");
|
||||
gregtechproxy.mLowGravProcessing = Loader.isModLoaded(GT_Values.MOD_ID_GC_CORE) && tMainConfig.get("general", "LowGravProcessing", true).getBoolean(true);
|
||||
LocalDate tDate = new Date().toInstant().atZone(ZoneId.systemDefault()).toLocalDate();
|
||||
gregtechproxy.mAprilFool = GregTech_API.sSpecialFile.get(ConfigCategories.general, "AprilFool", tDate.getMonthValue()==4 && tDate.getDayOfMonth() == 1);
|
||||
Calendar now = Calendar.getInstance();
|
||||
gregtechproxy.mAprilFool = GregTech_API.sSpecialFile.get(ConfigCategories.general, "AprilFool", now.get(Calendar.MONTH) == Calendar.APRIL && now.get(Calendar.DAY_OF_MONTH) == 1).getBoolean(false);
|
||||
gregtechproxy.mCropNeedBlock = tMainConfig.get("general", "CropNeedBlockBelow", true).getBoolean(true);
|
||||
|
||||
GregTech_API.mOutputRF = GregTech_API.sOPStuff.get(ConfigCategories.general, "OutputRF", true);
|
||||
GregTech_API.mInputRF = GregTech_API.sOPStuff.get(ConfigCategories.general, "InputRF", false);
|
||||
GregTech_API.mEUtoRF = GregTech_API.sOPStuff.get(ConfigCategories.general, "100EUtoRF", 360);
|
||||
|
@ -1108,4 +1105,4 @@ public class GT_Mod implements IGT_Mod {
|
|||
public void doSonictronSound(ItemStack aStack, World aWorld, double aX, double aY, double aZ) {
|
||||
gregtechproxy.doSonictronSound(aStack, aWorld, aX, aY, aZ);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue