#releaseBuild fix Advanced alloy

This commit is contained in:
modmuss50 2019-02-05 00:15:43 +00:00
parent 16ec10dcd3
commit 4797d64f5b
3 changed files with 3 additions and 3 deletions

View file

@ -54,7 +54,7 @@ configurations {
compile.extendsFrom shade
}
version = "2.20.8"
version = "2.20.9"
def ENV = System.getenv()
if (ENV.BUILD_NUMBER) {

View file

@ -148,7 +148,7 @@ public enum IC2Duplicates {
public ItemStack getStackBasedOnConfig() {
//Used only for when de-duping classic only items
if(!classicOnly){
if(!isClassicMode() && classicOnly){
return getTrStack();
}
if (deduplicate()) {

View file

@ -40,13 +40,13 @@ public class SmeltingRecipes extends RecipeMethods {
register(getMaterial("sap", Type.PART), getMaterial("rubber", Type.PART));
if(!IC2Duplicates.isClassicalDedupe()){
register(getStack(Items.IRON_INGOT), getMaterial("refined_iron", Type.INGOT));
register(IC2Duplicates.MIXED_METAL.getStackBasedOnConfig(), getMaterial("advanced_alloy", Type.INGOT));
}
register(BlockOre2.getOreByName("copper"), getMaterial("copper", Type.INGOT));
register(BlockOre2.getOreByName("tin"), getMaterial("tin", Type.INGOT));
register(BlockOre.getOreByName("silver"), getMaterial("silver", Type.INGOT));
register(BlockOre.getOreByName("lead"), getMaterial("lead", Type.INGOT));
register(BlockOre.getOreByName("sheldonite"), getMaterial("platinum", Type.INGOT));
register(IC2Duplicates.MIXED_METAL.getStackBasedOnConfig(), getMaterial("advanced_alloy", Type.INGOT));
// Dust smelting