From 3731c1be2e591d2f6926d7ba90b6f3bd9806cc5d Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 10 Jan 2021 02:05:50 +1300 Subject: [PATCH] Fix reference to wrong update folder --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 0afe56cf..db7fc510 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -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