Skip to content
Permalink
Browse files

Fix bypassed error path

  • Loading branch information...
me4502 committed Aug 17, 2019
1 parent 3d6de2b commit 6e121f0d726df4d8b3b62d7b211f17b8814a9863
@@ -3,6 +3,7 @@
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
@@ -155,8 +156,7 @@ public void readShow() throws IOException {
fyrestone = true;
firework = new File(ICManager.inst().getFireworkFolder(), showName + ".fwk");
if (!firework.exists()) {
CraftBookPlugin.logger().severe("Firework File Not Found! " + firework.getName());
return;
throw new FileNotFoundException("Firework File Not Found! " + firework.getName());
}
}
else

0 comments on commit 6e121f0

Please sign in to comment.
You can’t perform that action at this time.