Removed updater to prepare moving away from dev.bukkit.org

This commit is contained in:
shansen 2016-03-07 21:50:49 +01:00
parent b41a7099b0
commit d4ba2ea5dc
3 changed files with 1 additions and 21 deletions

10
pom.xml
View File

@ -69,10 +69,6 @@
<id>Plugin Metrics</id>
<url>http://repo.mcstats.org/content/repositories/public</url>
</repository>
<repository>
<id>gravity-repo</id>
<url>http://repo.gravitydevelopment.net</url>
</repository>
</repositories>
<dependencies>
@ -94,11 +90,5 @@
<version>R8-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.gravitydevelopment.updater</groupId>
<artifactId>updater</artifactId>
<version>2.3</version>
<scope>compile</scope>
</dependency>
</dependencies>
</project>

View File

@ -20,7 +20,6 @@ package me.shansen.EggCatcher;
import me.shansen.EggCatcher.listeners.EggCatcherEntityListener;
import me.shansen.EggCatcher.listeners.EggCatcherPlayerListener;
import net.gravitydevelopment.updater.Updater;
import net.milkbowl.vault.economy.Economy;
import org.bukkit.entity.Egg;
import org.bukkit.plugin.PluginManager;
@ -41,10 +40,6 @@ public class EggCatcher extends JavaPlugin {
public void onEnable() {
this.CheckConfigurationFile();
if (this.getConfig().getBoolean("CheckForUpdates")) {
this.CheckUpdate();
}
PluginManager pm = this.getServer().getPluginManager();
final EggCatcherPlayerListener playerListener = new EggCatcherPlayerListener();
@ -67,10 +62,6 @@ public class EggCatcher extends JavaPlugin {
}
}
public void CheckUpdate() {
Updater updater = new Updater(this, 35664, this.getFile(), Updater.UpdateType.DEFAULT, false);
}
public void CheckConfigurationFile() {
double configVersion = this.getConfig().getDouble("ConfigVersion", 0.0);
if (configVersion == 2.2) {

View File

@ -137,5 +137,4 @@ Messages:
CatchChanceFail: "You failed to catch this mob!"
CatchChanceSuccess: ""
HealthPercentageFail: "The mob has more than %s percent health left and cannot be caught!"
ConfigVersion: 2.2
CheckForUpdates: true
ConfigVersion: 2.2