From 8013be17243c15fcb39467d79d6a641c6afd9311 Mon Sep 17 00:00:00 2001 From: Andreas Troelsen Date: Thu, 3 May 2018 01:12:17 +0200 Subject: [PATCH] Quote the project version in plugin.yml MobArena has been on version 0.9x for so long that it just never was an issue that the version string was unquoted until now. Because SnakeYAML parses the string as a number, 0.100 becomes 0.1, which means the version string gets parsed into a 0 and a 1, which is less than 0 and 99 (previous version). This should fix that problem for good. --- src/main/resources/plugin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index ccd7f43..c1dc0e5 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,7 +1,7 @@ name: ${project.name} author: garbagemule main: com.garbagemule.MobArena.MobArena -version: ${project.version} +version: '${project.version}' softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault] commands: ma: