Update PluginUtils.java
This commit is contained in:
		@@ -31,7 +31,7 @@ public class PluginUtils {
 | 
				
			|||||||
    PluginUtils() {
 | 
					    PluginUtils() {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    private File getPluginFile(Plugin plugin) {
 | 
					    public static File getPluginFile(Plugin plugin) {
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            Method method = plugin.getClass().getDeclaredMethod("getFile");
 | 
					            Method method = plugin.getClass().getDeclaredMethod("getFile");
 | 
				
			||||||
            method.setAccessible(true);
 | 
					            method.setAccessible(true);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user