Fix reference to wrong update folder

This commit is contained in:
libraryaddict 2021-01-10 02:05:50 +13:00
parent 48297555f7
commit 3731c1be2e

View File

@ -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