update itemSprite, update items

This commit is contained in:
Anthony Calosa
2023-07-31 11:19:36 +08:00
parent 6e3362a330
commit a668b8abf8
9 changed files with 38 additions and 41 deletions

View File

@@ -429,10 +429,6 @@ public class Controls {
return Forge.getAssets().getTextraFont(name, getSkin().getFont(name), Config.instance().getAtlas(Paths.ITEMS_ATLAS));
}
static public Sprite getSprite(String itemSprite) {
return Config.instance().getAtlas(Paths.ITEMS_ATLAS).createSprite(itemSprite);
}
static public class AccountingLabel extends TextraLabel {
private TextraLabel label;
private final TextraLabel placeholder;