Decrease timeout limit to prevent main thread waiting too long
This commit is contained in:
@@ -52,7 +52,7 @@ public class I18NUtils {
|
||||
return PLAYER_LOCALE.get(player.getUniqueId());
|
||||
}
|
||||
|
||||
if (System.currentTimeMillis() - startTime > 3000) {
|
||||
if (System.currentTimeMillis() - startTime > 500) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user