Skip to content

Commit

Permalink
fixed mod install solution
Browse files Browse the repository at this point in the history
  • Loading branch information
matthi4s committed Feb 21, 2019
1 parent 627f918 commit 42978ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analysis/Solution/Forge/ModInstallSolution.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ModInstallSolution extends ModSolution
*/
public function getMessage(): string
{
if ($this->getModName() === null) {
if ($this->getModVersion() === null) {
return Translator::getInstance()->getTranslation("mod-install-solution", ["mod-name" => $this->getModName()]);
} else {
return Translator::getInstance()->getTranslation("mod-install-solution-with-version", [
Expand Down

0 comments on commit 42978ba

Please sign in to comment.