Prevent calling client only localization method on server.
This commit is contained in:
parent
5d57e9dff8
commit
25b09a975e
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
|
|||
|
||||
AEColor selected = getActiveColor( par1ItemStack );
|
||||
|
||||
if ( selected != null )
|
||||
if ( selected != null && Platform.isClient() )
|
||||
extra = Platform.gui_localize( selected.unlocalizedName );
|
||||
|
||||
return super.getItemStackDisplayName( par1ItemStack ) + " - " + extra;
|
||||
|
|
Loading…
Reference in a new issue