mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 04:22:32 +00:00
Fix item and block localization. This is a world breaking change!
This commit is contained in:
1 parent
5fcc76a2fa
commit
83789ae8f7
78 files changed
+1119
-1120
No files matched your search
@@ -70,7 +70,7 @@ public class ItemBeeGE extends ItemGE {
|
||||
public String getItemStackDisplayName(ItemStack itemstack) {
|
||||
|
||||
if (itemstack.getTagCompound() == null)
|
||||
return StringUtil.localize(type.getName());
|
||||
return super.getItemStackDisplayName(itemstack);
|
||||
|
||||
IBee individual = new Bee(itemstack.getTagCompound());
|
||||
if(StatCollector.canTranslate("bees.custom." + type.getName() + "." + individual.getDisplayName())){
|
||||
|
||||
Reference in new issue
Block a user