Override new addInformation method for 1.4.2.

This commit is contained in:
tcooc 2012-11-04 17:08:22 -05:00
parent 26213ba615
commit 4d7eb2f18c

View file

@ -38,7 +38,7 @@ public abstract class ItemBptBase extends ItemBuildCraft {
@SuppressWarnings({ "all" })
// @Override (client only)
public void addInformation(ItemStack itemstack, List list) {
public void addInformation(ItemStack itemstack, EntityPlayer player, List list, boolean advanced) {
if (itemstack.hasTagCompound() && itemstack.getTagCompound().hasKey("BptName")) {
list.add(itemstack.getTagCompound().getString("BptName"));
}
@ -56,11 +56,6 @@ public abstract class ItemBptBase extends ItemBuildCraft {
return itemStack;
}
@Override
public boolean getShareTag() {
return true;
}
@Override
public void onUpdate(ItemStack itemstack, World world, Entity entity, int i, boolean flag) {}