diff --git a/pom.xml b/pom.xml index adb5365..b5cc877 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 king-of-the-hill - 1.0.1 + 1.0.2 jar KingOfTheHill @@ -25,13 +25,13 @@ com.github.GamesInTheBox-MC ExpansionParent - 1.0.0 + 1.0.1 com.github.GamesInTheBox-MC GamesInTheBox - 1.0.0 + 1.1.4 provided diff --git a/src/main/java/me/hsgamer/gamesinthebox/kingofthehill/KingOfTheHill.java b/src/main/java/me/hsgamer/gamesinthebox/kingofthehill/KingOfTheHill.java index dd4661c..a24f408 100644 --- a/src/main/java/me/hsgamer/gamesinthebox/kingofthehill/KingOfTheHill.java +++ b/src/main/java/me/hsgamer/gamesinthebox/kingofthehill/KingOfTheHill.java @@ -6,6 +6,7 @@ import me.hsgamer.gamesinthebox.game.template.TemplateGameArenaLogic; import me.hsgamer.gamesinthebox.game.template.TemplateGameEditor; import me.hsgamer.gamesinthebox.game.template.expansion.TemplateGameExpansion; +import me.hsgamer.gamesinthebox.util.UpdateUtil; import me.hsgamer.hscore.bukkit.config.BukkitConfig; import me.hsgamer.hscore.common.CollectionUtils; import me.hsgamer.hscore.config.proxy.ConfigGenerator; @@ -22,6 +23,11 @@ public class KingOfTheHill extends TemplateGameExpansion { private final KOTHMessageConfig messageConfig = ConfigGenerator.newInstance(KOTHMessageConfig.class, new BukkitConfig(new File(getDataFolder(), "messages.yml"))); + @Override + protected void enable() { + UpdateUtil.notifyUpdate(this, "GamesInTheBox-MC/KingOfTheHill"); + } + @Override public TemplateGameArenaLogic createArenaLogic(TemplateGameArena arena) { return new KOTHGameLogic(arena);