mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2026-01-04 15:31:47 +00:00
2.2.3.5
This commit is contained in:
@@ -75,6 +75,10 @@ public class FontManager extends Function {
|
||||
asciiWidth.put(ASCIIWidth.values()[i].getCharacter(), ASCIIWidth.values()[i].getWidth());
|
||||
}
|
||||
|
||||
public void loadCustomWidth(char c, int width) {
|
||||
customImageWidth.put(c, width);
|
||||
}
|
||||
|
||||
private void loadCustomWidth() {
|
||||
for (int i = 0; i < ASCIIWidth.values().length; i++)
|
||||
customImageWidth.put(ASCIIWidth.values()[i].getCharacter(), ASCIIWidth.values()[i].getWidth());
|
||||
|
||||
Reference in New Issue
Block a user