Navigation Menu

Skip to content

Commit

Permalink
Fix bypassed error path
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Aug 17, 2019
1 parent 3d6de2b commit 6e121f0
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6e121f0

Please sign in to comment.