Skip to content

Commit

Permalink
Version update
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondřej Duchoň committed Jul 28, 2017
1 parent 899de08 commit 70ae99b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 0 additions & 1 deletion src/main/java/treechopper/common/command/TCHCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/treechopper/core/TreeChopper.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/treechopper/proxy/CommonProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 70ae99b

Please sign in to comment.