mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
Implement Ctrl + Backspace
This commit is contained in:
1 parent
4046213fa8
commit
37a765af19
2 files changed
+52
-3
No files matched your search
@@ -544,7 +544,7 @@ public class ClientProxy extends CommonProxy {
|
||||
|
||||
public FontContainer(String fontType, int fontSize) {
|
||||
textFont = new StringCache();
|
||||
textFont.setDefaultFont("Arial", fontSize, true);
|
||||
textFont.setDefaultFont("Arial Unicode MS", fontSize, true);
|
||||
useCustomFont = !fontType.equalsIgnoreCase("minecraft");
|
||||
try {
|
||||
if(!useCustomFont || fontType.isEmpty() || fontType.equalsIgnoreCase("default"))
|
||||
@@ -552,7 +552,7 @@ public class ClientProxy extends CommonProxy {
|
||||
else
|
||||
textFont.setDefaultFont(fontType, fontSize, true);
|
||||
} catch (Exception e) {
|
||||
LogWriter.info("Failed loading font so using Arial");
|
||||
LogWriter.info("Failed loading font so using Arial Unicode MS");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user