Added some new resources

This commit is contained in:
Anuken
2017-12-29 19:59:58 -05:00
parent e39f9c624d
commit 54662ee83f
3 changed files with 8 additions and 3 deletions

View File

@@ -299,7 +299,8 @@ public class BlocksFragment implements Fragment{
int amount = control.getItems()[i];
if(amount == 0) continue;
String formatted = amount > 99999999 ? "inf" : format(amount);
Image image = new Image(Draw.region("icon-" + Item.getByID(i).name));
Image image = new Image(Draw.hasRegion("icon-" + Item.getByID(i).name) ?
Draw.region("icon-" + Item.getByID(i).name) : Draw.region("blank"));
Label label = new Label(formatted);
label.setFontScale(fontscale*1.5f);
itemtable.add(image).size(8*3);