We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8093ae2 commit 6942731Copy full SHA for 6942731
1 file changed
src/main/java/net/lapismc/afkplus/AFKPlus.java
@@ -55,7 +55,7 @@ public void onEnable() {
55
registerLuckPermsContext();
56
checkForUpdate();
57
fileWatcher = new LapisCoreFileWatcher(this);
58
- Locale loc = new Locale(config.getMessage("PrettyTimeLocale"));
+ Locale loc = Locale.forLanguageTag(config.getMessage("PrettyTimeLocale"));
59
prettyTime = new PrettyTime(loc);
60
prettyTime.removeUnit(JustNow.class);
61
prettyTime.removeUnit(Millisecond.class);
0 commit comments