diff --git a/build.gradle b/build.gradle index cc55afe..142e444 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ dependencies { compile "cofh:ThermalFoundation:${config.mc_version}-${config.tf_version}:deobf" } -version = "${project.config.mod_version}." + (System.getenv("BUILD_NUMBER") ?: "1") +version = "${project.config.mod_version}." + (System.getenv("BUILD_NUMBER") ?: "10") println config.mc_version + "-" + config.forge_version // Setup the Forge/Minecraft plugin data. Specify the preferred Forge/Minecraft version here. diff --git a/build.properties b/build.properties index 1f83e15..c952a02 100644 --- a/build.properties +++ b/build.properties @@ -4,10 +4,10 @@ forge_version=14.23.1.2555 mappings=snapshot_20171003 # Mod Version -mod_version=0.1.2 +mod_version=0.1.3 # Dependencies rf_mc_version=1.12 rf_version=2.0.1.+ -cofh_core_version=4.3.7.+ -tf_version=2.3.7.+ +cofh_core_version=4.3.8.+ +tf_version=2.3.8.+ diff --git a/src/main/java/cofh/thermalcultivation/ThermalCultivation.java b/src/main/java/cofh/thermalcultivation/ThermalCultivation.java index d90c71a..e6541af 100644 --- a/src/main/java/cofh/thermalcultivation/ThermalCultivation.java +++ b/src/main/java/cofh/thermalcultivation/ThermalCultivation.java @@ -29,7 +29,7 @@ public class ThermalCultivation { public static final String MOD_ID = "thermalcultivation"; public static final String MOD_NAME = "Thermal Cultivation"; - public static final String VERSION = "0.1.2"; + public static final String VERSION = "0.1.3"; public static final String VERSION_MAX = "1.0.0"; public static final String VERSION_GROUP = "required-after:" + MOD_ID + "@[" + VERSION + "," + VERSION_MAX + ");"; public static final String UPDATE_URL = "https://raw.github.com/cofh/version/master/" + MOD_ID + "_update.json"; diff --git a/src/main/java/cofh/thermalcultivation/item/ItemWateringCan.java b/src/main/java/cofh/thermalcultivation/item/ItemWateringCan.java index 1e78657..3cb2cee 100644 --- a/src/main/java/cofh/thermalcultivation/item/ItemWateringCan.java +++ b/src/main/java/cofh/thermalcultivation/item/ItemWateringCan.java @@ -243,7 +243,7 @@ public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos if (state.getBlock() instanceof BlockFarmland) { int moisture = state.getValue(BlockFarmland.MOISTURE); if (moisture < 7) { - world.setBlockState(scan, state.withProperty(BlockFarmland.MOISTURE, 7), 2); + world.setBlockState(scan, state.withProperty(BlockFarmland.MOISTURE, 7), 3); } } }