diff --git a/pom.xml b/pom.xml index 1a96c76..fe91db2 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ KingdomProgrammers More-Recipes - v1.5 + 1.6-ALPHA jar More Recipes diff --git a/src/main/java/dansplugins/recipesystem/MoreRecipes.java b/src/main/java/dansplugins/recipesystem/MoreRecipes.java index 6700174..d7461cd 100644 --- a/src/main/java/dansplugins/recipesystem/MoreRecipes.java +++ b/src/main/java/dansplugins/recipesystem/MoreRecipes.java @@ -18,7 +18,7 @@ public final class MoreRecipes extends PonderBukkitPlugin { private static MoreRecipes instance; - public final String version = "v1.6-alpha-1"; + private final String pluginVersion = "v" + getDescription().getVersion(); private final CommandService commandService = new CommandService((PonderMC) getPonder()); public static MoreRecipes getInstance() { @@ -56,7 +56,7 @@ public boolean onCommand(CommandSender sender, Command cmd, String label, String } public String getVersion() { - return version; + return pluginVersion; } private void handlebStatsIntegration() { diff --git a/src/main/java/dansplugins/recipesystem/commands/DefaultCommand.java b/src/main/java/dansplugins/recipesystem/commands/DefaultCommand.java index c560074..853386d 100644 --- a/src/main/java/dansplugins/recipesystem/commands/DefaultCommand.java +++ b/src/main/java/dansplugins/recipesystem/commands/DefaultCommand.java @@ -20,7 +20,7 @@ public DefaultCommand() { @Override public boolean execute(CommandSender commandSender) { commandSender.sendMessage(ChatColor.AQUA + "More Recipes " + MoreRecipes.getInstance().getVersion()); - commandSender.sendMessage(ChatColor.AQUA + "Developed by: Daniel Stephenson"); + commandSender.sendMessage(ChatColor.AQUA + "Developed by: Daniel McCoy Stephenson, Rykurock"); commandSender.sendMessage(ChatColor.AQUA + "Wiki: https://github.com/Dans-Plugins/More-Recipes/wiki"); return true; } diff --git a/src/main/java/dansplugins/recipesystem/objects/PrismarineShard.java b/src/main/java/dansplugins/recipesystem/objects/PrismarineShard.java index 2cd69bf..e5321f0 100644 --- a/src/main/java/dansplugins/recipesystem/objects/PrismarineShard.java +++ b/src/main/java/dansplugins/recipesystem/objects/PrismarineShard.java @@ -9,7 +9,6 @@ import org.bukkit.inventory.ShapedRecipe; import static org.bukkit.Material.PRISMARINE_SHARD; -import static org.bukkit.Material.TOTEM_OF_UNDYING; public class PrismarineShard { diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index aaea8c7..ce939a2 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: More-Recipes -version: "1.5" -author: DanTheTechMan +version: '${project.version}' +author: Daniel McCoy Stephenson, Rykurock main: dansplugins.recipesystem.MoreRecipes api-version: "1.13"