More item fixes
- Living and Sentient armor have no armor models - (Self) Sacrifice Pack have no armor models
This commit is contained in:
parent
f95949a1c8
commit
34f5753b17
9 changed files with 75 additions and 176 deletions
|
@ -7,8 +7,8 @@ import net.minecraft.inventory.IInventory;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraft.util.ChatComponentText;
|
||||
import net.minecraft.util.IChatComponent;
|
||||
import net.minecraft.util.text.ITextComponent;
|
||||
import net.minecraft.util.text.TextComponentString;
|
||||
|
||||
public class ItemInventory implements IInventory
|
||||
{
|
||||
|
@ -237,9 +237,9 @@ public class ItemInventory implements IInventory
|
|||
}
|
||||
|
||||
@Override
|
||||
public IChatComponent getDisplayName()
|
||||
public ITextComponent getDisplayName()
|
||||
{
|
||||
return new ChatComponentText(getName());
|
||||
return new TextComponentString(getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue