v0.3.0: some refactoring to item sprites to better use an item as a parameter
This commit is contained in:
@@ -205,7 +205,7 @@ public class WndTradeItem extends Window {
|
||||
|
||||
// Title
|
||||
IconTitle titlebar = new IconTitle();
|
||||
titlebar.icon( new ItemSprite( item.image(), item.glowing() ) );
|
||||
titlebar.icon( new ItemSprite( item ) );
|
||||
titlebar.label( forSale ?
|
||||
Utils.format( TXT_SALE, item.toString(), price( item ) ) :
|
||||
Utils.capitalize( item.toString() ) );
|
||||
|
||||
Reference in New Issue
Block a user