mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Catch all exceptions not just NPE
This commit is contained in:
parent
f7e6e3adb6
commit
b5eb942682
@ -213,7 +213,7 @@ public class mcMMO extends JavaPlugin {
|
|||||||
/*holidayManager.saveAnniversaryFiles();*/
|
/*holidayManager.saveAnniversaryFiles();*/
|
||||||
placeStore.saveAll(); // Save our metadata
|
placeStore.saveAll(); // Save our metadata
|
||||||
placeStore.cleanUp(); // Cleanup empty metadata stores
|
placeStore.cleanUp(); // Cleanup empty metadata stores
|
||||||
} catch (NullPointerException e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user