mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 11:13:45 +01:00 
			
		
		
		
	When an exception is actually being used it shouldn't be named ignored
This commit is contained in:
		@@ -30,8 +30,8 @@ import static com.github.intellectualsites.plotsquared.plot.util.ReflectionUtils
 | 
			
		||||
        this.methodGetHandleChunk = classCraftChunk.getMethod("getHandle").getRealMethod();
 | 
			
		||||
        try {
 | 
			
		||||
            this.mustSave = classChunk.getField("mustSave").getRealField();
 | 
			
		||||
        } catch (Throwable ignore) {
 | 
			
		||||
            ignore.printStackTrace();
 | 
			
		||||
        } catch (NoSuchFieldException e) {
 | 
			
		||||
            e.printStackTrace();
 | 
			
		||||
        }
 | 
			
		||||
        Bukkit.getPluginManager().registerEvents(this, plugin);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -24,8 +24,8 @@ public class PlotVersion {
 | 
			
		||||
    public static PlotVersion tryParse(String version, String commit, String date) {
 | 
			
		||||
        try {
 | 
			
		||||
            return new PlotVersion(version, commit, date);
 | 
			
		||||
        } catch (Exception ignore) {
 | 
			
		||||
            ignore.printStackTrace();
 | 
			
		||||
        } catch (Exception e) {
 | 
			
		||||
            e.printStackTrace();
 | 
			
		||||
            return new PlotVersion(0, 0, 0, 0, 0);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user