Commit 01252789 authored by Korynkai's avatar Korynkai

These methods need the override modifier.

parent 1d738a63
......@@ -84,8 +84,8 @@ trait ModularItemBase extends Item with IModularItem with MuseElectricItem {
def givePlayerEnergy(player: EntityPlayer, joulesToGive: Double) = ElectricItemUtils.givePlayerEnergy(player, joulesToGive)
// Industrial Craft 2 methods
def getChargedItem(itemStack: ItemStack) : Item = this
override def getChargedItem(itemStack: ItemStack) : Item = this
def getEmptyItem(itemStack: ItemStack) : Item = this
override def getEmptyItem(itemStack: ItemStack) : Item = this
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment