Ported to 1.7

This commit is contained in:
AlgorithmX2
2014-02-08 19:34:52 -06:00
parent 30c1deb8cf
commit d50c7f6312
328 changed files with 2209 additions and 2311 deletions
+1 -3
View File
@@ -2,9 +2,7 @@ package appeng.items.tools.quartz;
import java.util.EnumSet;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.ItemSword;
import appeng.core.Configuration;
import appeng.core.features.AEFeature;
import appeng.core.features.AEFeatureHandler;
import appeng.core.features.IAEFeature;
@@ -21,7 +19,7 @@ public class ToolQuartzSword extends ItemSword implements IAEFeature
}
public ToolQuartzSword(AEFeature Type) {
super( Configuration.instance.getItemID( ToolQuartzSword.class, Type.name() ), EnumToolMaterial.IRON );
super( ToolMaterial.IRON );
feature = new AEFeatureHandler( EnumSet.of( Type, AEFeature.QuartzSword ), this, Type.name() );
}