mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	Catch all exceptions not just NPE
This commit is contained in:
		@@ -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();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user