OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

InventoryDescriptionUtils #149

Open MechE99 opened 10 years ago

MechE99 commented 10 years ago

https://github.com/OpenMods/OpenPeripheral/blob/master/src/openperipheral/util/InventoryDescriptionUtils.java

In SSP when using the method getAllStacks() or getStackInSlot() a table is returned which displays the name; raw name of the item. From the url provided, it seems the display name is displayed for name and the unlocalized name is displayed for rawname.

In SMP when using the same aforementioned methods it returns the unlocalized name for the name for about 2/3 of the items, mostly mod items.

Is there a way to fix this issue? I would like to pull the display name.