Make version incompatibility message more informative
@@ -106,8 +106,8 @@ private boolean onCheckContainsVersion(ArtifactVersion expected, ArtifactVersion
// or if the installed version is lower than the recommended version
if (majorInstalled != null
&& (!majorExpected.equals(majorInstalled) || installed.compareTo(range.getRecommendedVersion()) < 0)) {
- SpongeImpl.getLogger().warn("The mod {} was designed for {} {}. It may not work properly.",
- this.mod.getModId(), expected.getLabel(), expected.getRangeString());
+ SpongeImpl.getLogger().warn("The mod {} was designed for {} {} but version {} is in use. It may not work properly.",
+ this.mod.getModId(), expected.getLabel(), expected.getRangeString(), installed.getVersionString());
}
}
}
