From 1e7f2e6a6f0501a8b48c76956e5e10381ddc1a17 Mon Sep 17 00:00:00 2001 From: GoryMoon Date: Fri, 15 Jun 2018 18:42:47 +0200 Subject: [PATCH] Fixed treetap not working well. Fixes #141 Updated some info and versions #releaseBuild --- build.gradle | 8 ++------ .../modules/workers/tools/ModuleWoodcutter.java | 2 +- src/main/resources/mcmod.info | 6 +++--- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/build.gradle b/build.gradle index 8010253f..b48835ed 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ apply plugin: 'net.minecraftforge.gradle.forge' sourceCompatibility = 1.8 targetCompatibility = 1.8 -version = "2.4.20" +version = "2.4.21" def ENV = System.getenv() if (ENV.BUILD_NUMBER) { @@ -48,10 +48,6 @@ repositories { name = "Modmuss50" url = "http://maven.modmuss50.me/" } - maven { - name = "ic2" - url = "http://maven.ic2.player.to/" - } } @@ -62,7 +58,7 @@ dependencies { compile ('RebornCore:RebornCore-1.12.2:+:dev'){ transitive = false } - deobfCompile 'net.industrial-craft:industrialcraft-2:2.8.23-ex112' + deobfCompile 'net.industrial-craft:industrialcraft-2:2.8.85-ex112' } processResources{ diff --git a/src/main/java/vswe/stevescarts/modules/workers/tools/ModuleWoodcutter.java b/src/main/java/vswe/stevescarts/modules/workers/tools/ModuleWoodcutter.java index c40a85d5..d4c17e23 100644 --- a/src/main/java/vswe/stevescarts/modules/workers/tools/ModuleWoodcutter.java +++ b/src/main/java/vswe/stevescarts/modules/workers/tools/ModuleWoodcutter.java @@ -211,7 +211,7 @@ private boolean farm(World world, BlockPos pos) { for (ItemStack stack : drops) { getCart().addItemToChest(stack); } - return true; + return drops.size() > 0; } else { final ArrayList checked = new ArrayList<>(); if (removeAt(world, pos, checked)) { diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index 8d9fa037..354d2337 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -6,9 +6,9 @@ "version": "${version}", "mcversion": "${mcversion}", "url": "", - "updateUrl": "", - "authorList": ["Vswe"], - "credits": "", + "updateUrl": "https://minecraft.curseforge.com/projects/steves-carts-reborn", + "authorList": ["modmuss50", "Gory_Moon","Vswe"], + "credits": "Credits to Vswe for the original mod", "logoFile": "", "screenshots": [], "dependencies": []