This commit is contained in:
Brianna 2019-04-26 04:17:11 -04:00
parent b6da49a6a8
commit dc48822a07

View File

@ -42,8 +42,9 @@ public class SongodaUpdate {
private void update(Plugin plugin) {
try {
URL url = new URL("http://update.songoda.com/index.php?plugin=" + plugin.getSongodaId() +
"&version=" + plugin.getJavaPlugin().getDescription().getVersion());
URL url = new URL("http://update.songoda.com/index.php?plugin=" + plugin.getSongodaId()
+ "&version=" + plugin.getJavaPlugin().getDescription().getVersion()
+ "&updaterVersion=" + version);
URLConnection urlConnection = url.openConnection();
InputStream is = urlConnection.getInputStream();
InputStreamReader isr = new InputStreamReader(is);