From 93c724443a6fc72c8950ef55dec096879b8ea43c Mon Sep 17 00:00:00 2001 From: thatsIch Date: Tue, 30 Sep 2014 15:16:33 +0200 Subject: [PATCH] Added harvest level of wrenches and network tools to 'wrench' --- src/main/java/appeng/items/tools/ToolNetworkTool.java | 6 ++++-- .../java/appeng/items/tools/quartz/ToolQuartzWrench.java | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/appeng/items/tools/ToolNetworkTool.java b/src/main/java/appeng/items/tools/ToolNetworkTool.java index 703474bd..aba031a5 100644 --- a/src/main/java/appeng/items/tools/ToolNetworkTool.java +++ b/src/main/java/appeng/items/tools/ToolNetworkTool.java @@ -38,8 +38,10 @@ public class ToolNetworkTool extends AEBaseItem implements IGuiItem, IAEWrench, public ToolNetworkTool() { super( ToolNetworkTool.class, null ); - setFeature( EnumSet.of( AEFeature.NetworkTool ) ); - setMaxStackSize( 1 ); + + this.setFeature( EnumSet.of( AEFeature.NetworkTool ) ); + this.setMaxStackSize( 1 ); + this.setHarvestLevel( "wrench", 0 ); } @Override diff --git a/src/main/java/appeng/items/tools/quartz/ToolQuartzWrench.java b/src/main/java/appeng/items/tools/quartz/ToolQuartzWrench.java index 8b8dc9d3..a6dac42f 100644 --- a/src/main/java/appeng/items/tools/quartz/ToolQuartzWrench.java +++ b/src/main/java/appeng/items/tools/quartz/ToolQuartzWrench.java @@ -21,8 +21,10 @@ public class ToolQuartzWrench extends AEBaseItem implements IAEWrench, IToolWren public ToolQuartzWrench(AEFeature type) { super( ToolQuartzWrench.class, type.name() ); - setFeature( EnumSet.of( type, AEFeature.QuartzWrench ) ); - setMaxStackSize( 1 ); + + this.setFeature( EnumSet.of( type, AEFeature.QuartzWrench ) ); + this.setMaxStackSize( 1 ); + this.setHarvestLevel( "wrench", 0 ); } @Override