Fixes tooltips for encoded patterns with invalid recipes not showing input/output item names.
This commit is contained in:
@@ -120,7 +120,7 @@ public class InvalidPatternHelper
|
||||
|
||||
public ITextComponent getName()
|
||||
{
|
||||
return this.isValid() ? Platform.getItemDisplayName( this.stack.getDisplayName() )
|
||||
return this.isValid() ? Platform.getItemDisplayName( this.stack )
|
||||
: new StringTextComponent(this.id + '@' + this.getDamage());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user