mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-18 15:18:34 +01:00
parent
4cbeac1d10
commit
9a6465e6a4
@ -267,7 +267,9 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
|
|||||||
File outDir = new File(outFile.getPath().replace(outFile.getName(), ""));
|
File outDir = new File(outFile.getPath().replace(outFile.getName(), ""));
|
||||||
|
|
||||||
if (!outDir.exists()) {
|
if (!outDir.exists()) {
|
||||||
outDir.mkdirs();
|
if (!outDir.mkdirs()) {
|
||||||
|
getLogger().log(Level.SEVERE, "Failed to make directories for " + outFile.getName() + "(canWrite= " + outFile.canWrite());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user