Fixes tooltips for encoded patterns with invalid recipes not showing input/output item names.

This commit is contained in:
Sebastian Hartte
2020-06-16 17:38:38 +02:00
parent 4759a6d204
commit 5f401bf548
@@ -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());
}