+ 修复张艾伦写的碧油鸡

master
坏黑 2018-10-10 17:13:12 +08:00
parent 989672b948
commit 732f0bf093
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class PluginUtils {
public static File getPluginFile(Plugin plugin) {
try {
Method method = plugin.getClass().getDeclaredMethod("getFile");
Method method = JavaPlugin.class.getDeclaredMethod("getFile");
method.setAccessible(true);
return (File) method.invoke(plugin);
} catch (ReflectiveOperationException e) {