Add basic support for ammo

This commit is contained in:
2022-08-25 21:52:50 +02:00
parent 1a96932bca
commit fe828f9026
14 changed files with 197 additions and 22 deletions

View File

@@ -102,7 +102,7 @@ public class ItemIconView extends IconView {
gui.beginPath();
gui.setFontFace(fonts.roboto_regular.uid);
gui.setFontSize(17);
gui.putText(x + 15, y + 5, String.valueOf(stack.count()));
gui.putText(x + 15, y + 5, String.valueOf(stack.getCount()));
gui.setFillColor(textColor);
gui.fill();
gui.closePath();