v0.3.0: some refactoring to item sprites to better use an item as a parameter
This commit is contained in:
@@ -45,7 +45,7 @@ public class IconTitle extends Component {
|
||||
|
||||
public IconTitle( Item item ) {
|
||||
this(
|
||||
new ItemSprite( item.image(), item.glowing() ),
|
||||
new ItemSprite( item ),
|
||||
Utils.capitalize( item.toString() ) );
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user