mirror of
https://github.com/Xiao-MoMi/Custom-Nameplates.git
synced 2026-01-03 06:02:32 +00:00
2.2.3.6
This commit is contained in:
@@ -84,6 +84,8 @@ public class FontManager extends Function {
|
||||
customImageWidth.put(ASCIIWidth.values()[i].getCharacter(), ASCIIWidth.values()[i].getWidth());
|
||||
for (SimpleChar simpleChar : plugin.getImageManager().getCharacterMap().values())
|
||||
customImageWidth.put(simpleChar.getChars(), simpleChar.getWidth());
|
||||
for (OffsetFont offsetFont : OffsetFont.values())
|
||||
customImageWidth.put(offsetFont.getCharacter(), offsetFont.getSpace() - 1);
|
||||
YamlConfiguration config = ConfigUtils.getConfig("configs" + File.separator + "image-width.yml");
|
||||
for (String image : config.getKeys(false)) {
|
||||
String character = AdventureUtils.stripAllTags(PlaceholderAPI.setPlaceholders(null, image));
|
||||
|
||||
Reference in New Issue
Block a user