refactor: remove unnecessary toString call

This commit is contained in:
Breno A. 2024-06-09 08:55:58 -03:00
parent ef58ab3e5a
commit c3eafba072

View File

@ -361,7 +361,7 @@ public final class Language {
} catch (NoSuchFileException ignored) {
// Cache doesn't exist, generate it.
} catch (Exception exception) {
Grasscutter.getLogger().error("Error loading textmaps cache: " + exception.toString());
Grasscutter.getLogger().error("Error loading textmaps cache: " + exception);
}
// Regenerate cache