Changed to getUnlocalizedName2
Changed to getUnlocalizedName2 to remove the need to use substring and index of.
This commit is contained in:
parent
75dfff2dba
commit
87ee823acb
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public abstract class BlockEE extends BlockContainer {
|
|||
@SideOnly(Side.CLIENT)
|
||||
public void registerIcons(IconRegister iconRegister) {
|
||||
|
||||
blockIcon = iconRegister.registerIcon(Reference.MOD_ID.toLowerCase() + ":" + this.getUnlocalizedName().substring(this.getUnlocalizedName().indexOf(".") + 1));
|
||||
blockIcon = iconRegister.registerIcon(Reference.MOD_ID.toLowerCase() + ":" + this.getUnlocalizedName2()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue