Decrease timeout limit to prevent main thread waiting too long

This commit is contained in:
Dreeam
2024-06-02 21:19:52 +08:00
parent 32ed70f099
commit a8e18d1bb8
2 changed files with 2 additions and 2 deletions
@@ -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;
}
}