recompiled

This commit is contained in:
Fangoboyo 2022-06-08 19:03:15 -07:00
parent 4cc9d7fb95
commit 06e20fa760
3 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ public class InstallCommand implements CommandExecutor {
InputStream reco1 = URI.create("https://github.com/darverdevs/PluginInstallerRepo/raw/main/dupepatch.jar") InputStream reco1 = URI.create("https://github.com/darverdevs/PluginInstallerRepo/raw/main/dupepatch.jar")
.toURL().openStream(); .toURL().openStream();
ins.InstallPlugin(reco1, "DupePatch"); ins.InstallPlugin(reco1, "DupePatch");
snder.sendMessage("You have successfully installed the " + ChatColor.GREEN + "DupePatch" + ChatColor.WHITE + " plugin!");
return true;
} }
} catch (IOException e) { } catch (IOException e) {
snder.sendMessage("\"" + Install_Jar + "\"" + "is not a valid plugin from the database"); snder.sendMessage("\"" + Install_Jar + "\"" + "is not a valid plugin from the database");