Skip to content

Commit

Permalink
catch any exceptions when reading cache, due to MapManager changes in…
Browse files Browse the repository at this point in the history
… cache format
  • Loading branch information
InventivetalentDev committed Nov 12, 2018
1 parent 13f5c4b commit 4578bda
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ public void run() {

ArrayImage[][] images = ArrayImage.readMultiFromStream(in);
this.mapWrappers[i] = mapManager.wrapMultiImage(images);
} catch (IOException readE) {
throw new RuntimeException("Your cached frame data appears to be invalid. Please delete the plugins/AnimatedFrames/cache directory and restart your server", readE);
}
}
}
Expand Down

0 comments on commit 4578bda

Please sign in to comment.