Replace ${git.commit.id.abbrev} with unknown (#118)

* Replace ${git.commit.id.abbrev} with unknown

* Use actual unknown command message
This commit is contained in:
Model 3
2018-08-08 23:26:12 -07:00
committed by Seth
parent 87cd901f72
commit 34c8544690
4 changed files with 12 additions and 7 deletions

View File

@ -310,7 +310,8 @@ public class TotalFreedomMod extends AeroPlugin<TotalFreedomMod>
version = props.getProperty("buildVersion", pluginVersion);
number = props.getProperty("buildNumber", "1");
date = props.getProperty("buildDate", "unknown");
head = props.getProperty("buildHead", "unknown");
// Need to do this or it will display ${git.commit.id.abbrev}
head = props.getProperty("buildHead", "unknown").replace("${git.commit.id.abbrev}", "unknown");
}
catch (Exception ex)
{