Grasscutter.getLogger().error("Error loading TSV file '"+filename+"' - Stacktrace is: ",e);
Grasscutter.getLogger().error("Error loading file '"+filename+"' - Stacktrace is: ",e);
returnnull;
}
}
...
...
@@ -487,11 +488,14 @@ public class TsvUtils {
returnnull;
}
}).toList();
}catch(NoSuchFileExceptione){
Grasscutter.getLogger().error("Error loading file '"+filename+"' - File does not exist. You are missing resources. Note that this file may exist in JSON, TSV, or TSJ format, any of which are suitable.");
returnnull;
}catch(IOExceptione){
Grasscutter.getLogger().error("Error loading TSV file '"+filename+"' - Stacktrace is: ",e);
Grasscutter.getLogger().error("Error loading file '"+filename+"' - Stacktrace is: ",e);
returnnull;
}catch(NoSuchMethodExceptione){
Grasscutter.getLogger().error("Error loading TSV file '"+filename+"' - Class is missing NoArgsConstructor");
Grasscutter.getLogger().error("Error loading file '"+filename+"' - Class is missing NoArgsConstructor");
returnnull;
}
}
...
...
@@ -588,7 +592,7 @@ public class TsvUtils {
}
}).toList();
}catch(IOExceptione){
Grasscutter.getLogger().error("Error loading TSV file '"+filename+"' - Stacktrace is: ",e);
Grasscutter.getLogger().error("Error loading file '"+filename+"' - Stacktrace is: ",e);