Skip to content

Commit

Permalink
4.3.8 release. :)
Browse files Browse the repository at this point in the history
Signed-off-by: King Lemming <kinglemming@gmail.com>
  • Loading branch information
KingLemming committed Dec 24, 2017
1 parent bdea159 commit a5c468a
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ dependencies {
compile "mezz.jei:jei_${config.jei_mc_version}:${config.jei_version}"
}

version = "${project.config.mod_version}." + (System.getenv("BUILD_NUMBER") ?: "26")
version = "${project.config.mod_version}." + (System.getenv("BUILD_NUMBER") ?: "27")

println config.mc_version + "-" + config.forge_version
// Setup the Forge/Minecraft plugin data. Specify the preferred Forge/Minecraft version here.
Expand Down
6 changes: 6 additions & 0 deletions src/main/java/cofh/core/enchantment/EnchantmentHolding.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,10 @@ public boolean canApplyAtEnchantingTable(ItemStack stack) {
return canApply(stack);
}

@Override
public boolean isAllowedOnBooks() {

return enable;
}

}
6 changes: 6 additions & 0 deletions src/main/java/cofh/core/enchantment/EnchantmentInsight.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,10 @@ public boolean canApplyTogether(Enchantment ench) {
return super.canApplyTogether(ench) && ench != Enchantments.SILK_TOUCH;
}

@Override
public boolean isAllowedOnBooks() {

return enable;
}

}
6 changes: 6 additions & 0 deletions src/main/java/cofh/core/enchantment/EnchantmentLeech.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,10 @@ public boolean canApplyAtEnchantingTable(ItemStack stack) {
return canApply(stack);
}

@Override
public boolean isAllowedOnBooks() {

return enable;
}

}
6 changes: 6 additions & 0 deletions src/main/java/cofh/core/enchantment/EnchantmentMultishot.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,10 @@ public boolean canApplyAtEnchantingTable(ItemStack stack) {
return canApply(stack);
}

@Override
public boolean isAllowedOnBooks() {

return enable;
}

}
6 changes: 6 additions & 0 deletions src/main/java/cofh/core/enchantment/EnchantmentSmelting.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,10 @@ public boolean canApplyTogether(Enchantment ench) {
return super.canApplyTogether(ench) && ench != Enchantments.SILK_TOUCH;
}

@Override
public boolean isAllowedOnBooks() {

return enable;
}

}
6 changes: 6 additions & 0 deletions src/main/java/cofh/core/enchantment/EnchantmentVorpal.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,10 @@ public boolean canApplyAtEnchantingTable(ItemStack stack) {
return canApply(stack);
}

@Override
public boolean isAllowedOnBooks() {

return enable;
}

}
6 changes: 3 additions & 3 deletions src/main/java/cofh/core/util/helpers/HolidayHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ public static boolean isUSThanksgiving() {
return dateCheck();
}

public static boolean isChristmas() {
public static boolean isChristmas(int pre, int post) {

setDate(holidayStart, Calendar.DECEMBER, 24, false);
setDate(holidayEnd, Calendar.DECEMBER, 26, true);
setDate(holidayStart, Calendar.DECEMBER, 24 - pre, false);
setDate(holidayEnd, Calendar.DECEMBER, 26 + post, true);

return dateCheck();
}
Expand Down

0 comments on commit a5c468a

Please sign in to comment.