Fix reference to wrong update folder
This commit is contained in:
parent
48297555f7
commit
3731c1be2e
@ -417,7 +417,7 @@ public class DisguiseUtilities {
|
||||
getFile.setAccessible(true);
|
||||
|
||||
File theirFile = (File) getFile.invoke(ProtocolLibrary.getPlugin());
|
||||
dest = new File("plugins/update/" + theirFile.getName());
|
||||
dest = new File(Bukkit.getUpdateFolderFile(), theirFile.getName());
|
||||
}
|
||||
|
||||
// We're connecting to jenkins's API for ProtocolLib
|
||||
|
Loading…
Reference in New Issue
Block a user