Don’t expose the plugin version directly
[Sone.git] / src / main / java / net / pterodactylus / sone / fcp / VersionCommand.java
index b887926..ee0f2e5 100644 (file)
@@ -45,7 +45,7 @@ public class VersionCommand extends AbstractSoneCommand {
         */
        @Override
        public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) {
-               return new Response("Version", new SimpleFieldSetBuilder().put("Version", SonePlugin.VERSION.toString()).put("ProtocolVersion", 1).get());
+               return new Response("Version", new SimpleFieldSetBuilder().put("Version", SonePlugin.getPluginVersion()).put("ProtocolVersion", 1).get());
        }
 
 }