1
0
mirror of https://github.com/GeyserMC/PackConverter.git synced 2025-12-19 14:59:21 +00:00

Use the Java 17 method, not Java 21

This commit is contained in:
Aurora
2025-07-27 23:45:08 +01:00
parent 161a448b9c
commit 17b115638f

View File

@@ -203,7 +203,7 @@ public class FontTransformer implements TextureTransformer {
BufferedImage image = this.readImage(texture);
int width = image.getWidth() / bitMapFontProvider.characters().getFirst().length();
int width = image.getWidth() / bitMapFontProvider.characters().get(0).length();
int height = image.getHeight() / bitMapFontProvider.characters().size();
int x = 0;