From 70ae99b367f0e04d192eab156844e56a931b9ac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Ducho=C5=88?= Date: Fri, 28 Jul 2017 15:39:03 +0200 Subject: [PATCH] Version update --- build.gradle | 2 +- src/main/java/treechopper/common/command/TCHCommand.java | 1 - src/main/java/treechopper/core/TreeChopper.java | 2 +- src/main/java/treechopper/proxy/CommonProxy.java | 4 ++-- src/main/resources/mcmod.info | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index b36fcb8..d1b4020 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. -version = "1.12-1.2.1" +version = "1.12-1.2.2" group = "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "TreeChopper" diff --git a/src/main/java/treechopper/common/command/TCHCommand.java b/src/main/java/treechopper/common/command/TCHCommand.java index db224ba..7c85c05 100644 --- a/src/main/java/treechopper/common/command/TCHCommand.java +++ b/src/main/java/treechopper/common/command/TCHCommand.java @@ -10,7 +10,6 @@ import net.minecraft.util.math.BlockPos; import net.minecraft.util.text.TextComponentTranslation; import net.minecraft.util.text.TextFormatting; -import scala.xml.Null; import treechopper.common.config.ConfigurationHandler; import treechopper.common.network.ClientSettingsMessage; import treechopper.core.TreeChopper; diff --git a/src/main/java/treechopper/core/TreeChopper.java b/src/main/java/treechopper/core/TreeChopper.java index 42b564c..b7e2971 100644 --- a/src/main/java/treechopper/core/TreeChopper.java +++ b/src/main/java/treechopper/core/TreeChopper.java @@ -27,7 +27,7 @@ public class TreeChopper { public static final String MOD_ID = "treechopper"; public static final String MOD_NAME = "Tree Chopper"; - public static final String MOD_VERSION = "1.2.1"; + public static final String MOD_VERSION = "1.2.2"; public static final String GUI_FACTORY = "treechopper.client.gui.GuiTCHFactory"; public static final String MOD_DEPENDENCIES = "required-after:forge@[14.21.0.2333,)"; public static SimpleNetworkWrapper m_Network; diff --git a/src/main/java/treechopper/proxy/CommonProxy.java b/src/main/java/treechopper/proxy/CommonProxy.java index b3242bd..4476275 100644 --- a/src/main/java/treechopper/proxy/CommonProxy.java +++ b/src/main/java/treechopper/proxy/CommonProxy.java @@ -67,8 +67,8 @@ public void InteractWithTree(PlayerInteractEvent interactEvent) { treeHandler = new TreeHandler(); logCount = treeHandler.AnalyzeTree(interactEvent.getWorld(), interactEvent.getPos(), interactEvent.getEntityPlayer()); - System.out.println("Max damage: " + interactEvent.getEntityPlayer().getHeldItemMainhand().getMaxDamage()); - System.out.println("Item damage: " + interactEvent.getEntityPlayer().getHeldItemMainhand().getItemDamage()); + /*System.out.println("Max damage: " + interactEvent.getEntityPlayer().getHeldItemMainhand().getMaxDamage()); + System.out.println("Item damage: " + interactEvent.getEntityPlayer().getHeldItemMainhand().getItemDamage());*/ if (axeDurability < logCount) { m_PlayerData.remove(interactEvent.getEntityPlayer().getPersistentID()); diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index 15436a4..e3b4bcc 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -2,7 +2,7 @@ "modid": "treechopper", "name": "Tree Chopper", "description": "Simple mod for chop down whole tree and much more.. \n\nRecommended forge version: 1.12 - 14.21.1.2387", - "version": "1.2.1", + "version": "1.2.2", "mcversion": "${version}", "logoFile": "assets/treechopper/textures/logo.jpg", "url": "https://minecraft.curseforge.com/projects/tree-chopper",