Fix a null error
This commit is contained in:
parent
65d80b71f2
commit
4f2d54b844
@ -420,6 +420,10 @@ public class DisguiseUtilities {
|
||||
dest = new File(Bukkit.getUpdateFolderFile(), theirFile.getName());
|
||||
}
|
||||
|
||||
if (!dest.exists()) {
|
||||
dest.createNewFile();
|
||||
}
|
||||
|
||||
// We're connecting to jenkins's API for ProtocolLib
|
||||
URL url = new URL("https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/artifact/target/ProtocolLib.jar");
|
||||
// Creating a connection
|
||||
|
Loading…
Reference in New Issue
Block a user