Skip to content

Commit

Permalink
RF Api the second, also don't strip the methods, derp.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Jan 11, 2015
1 parent 0e66235 commit 506da18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/tconstruct/library/tools/ToolCore.java
Expand Up @@ -841,7 +841,7 @@ public Entity createEntity (World world, Entity location, ItemStack itemstack)

/* IEnergyContainerItem */
@Override
@Optional.Method(modid = "CoFHLib")
@Optional.Method(modid = "CoFHAPI|energy")
public int receiveEnergy (ItemStack container, int maxReceive, boolean simulate)
{
NBTTagCompound tags = container.getTagCompound();
Expand All @@ -863,7 +863,7 @@ public int receiveEnergy (ItemStack container, int maxReceive, boolean simulate)
}

@Override
@Optional.Method(modid = "CoFHLib")
@Optional.Method(modid = "CoFHAPI|energy")
public int extractEnergy (ItemStack container, int maxExtract, boolean simulate)
{
NBTTagCompound tags = container.getTagCompound();
Expand All @@ -886,7 +886,7 @@ public int extractEnergy (ItemStack container, int maxExtract, boolean simulate)
}

@Override
@Optional.Method(modid = "CoFHLib")
@Optional.Method(modid = "CoFHAPI|energy")
public int getEnergyStored (ItemStack container)
{
NBTTagCompound tags = container.getTagCompound();
Expand All @@ -898,7 +898,7 @@ public int getEnergyStored (ItemStack container)
}

@Override
@Optional.Method(modid = "CoFHLib")
@Optional.Method(modid = "CoFHAPI|energy")
public int getMaxEnergyStored (ItemStack container)
{
NBTTagCompound tags = container.getTagCompound();
Expand Down

0 comments on commit 506da18

Please sign in to comment.