mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +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
@@ -42,7 +42,7 @@ public class ItemCandleBlock extends ItemForestryBlock {
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack itemStack) {
|
||||
String value = "tile.candle";
|
||||
String value = getBlock().getUnlocalizedName();
|
||||
if (itemStack.hasTagCompound() && itemStack.getTagCompound().hasKey(BlockCandle.colourTagName)) {
|
||||
value = value + ".dyed";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user