Restore ArmorTraits usage

This commit is contained in:
Sergey Popov 2015-05-14 15:56:17 +03:00
parent 3932db4226
commit a0a683f444

View file

@ -1,7 +1,7 @@
package net.machinemuse.powersuits.item
import cpw.mods.fml.relauncher.{Side, SideOnly}
import net.machinemuse.api.{IModularItem, ModuleManager}
import net.machinemuse.api.{IModularItem, ArmorTraits, ModuleManager}
import net.machinemuse.numina.geometry.Colour
import net.machinemuse.powersuits.client.render.item.ArmorModel
import net.machinemuse.powersuits.common.Config
@ -23,6 +23,7 @@ import net.minecraftforge.common.ISpecialArmor
abstract class ItemPowerArmor(renderIndex: Int, armorType: Int)
extends ItemElectricArmor(ItemArmor.ArmorMaterial.IRON, renderIndex, armorType)
with ISpecialArmor
with ArmorTraits
with IModularItem {
setMaxStackSize(1)
setCreativeTab(Config.getCreativeTab)
@ -145,4 +146,4 @@ abstract class ItemPowerArmor(renderIndex: Int, armorType: Int)
}
}
}
}