Override new addInformation method for 1.4.2.
This commit is contained in:
parent
26213ba615
commit
4d7eb2f18c
1 changed files with 1 additions and 6 deletions
|
@ -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) {}
|
||||
|
||||
|
|
Loading…
Reference in a new issue