Merge pull request #55 from CovertJaguar/patch-1
Added getters for version vars.
This commit is contained in:
commit
0e97f1adaf
1 changed files with 21 additions and 0 deletions
|
@ -642,6 +642,27 @@ public class ForgeHooks
|
||||||
public static final int revisionVersion = 3;
|
public static final int revisionVersion = 3;
|
||||||
//This number is incremented every time Jenkins builds Forge, and never reset. Should always be 0 in the repo code.
|
//This number is incremented every time Jenkins builds Forge, and never reset. Should always be 0 in the repo code.
|
||||||
public static final int buildVersion = 0;
|
public static final int buildVersion = 0;
|
||||||
|
|
||||||
|
public static int getMajorVersion()
|
||||||
|
{
|
||||||
|
return majorVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int getMinorVersion()
|
||||||
|
{
|
||||||
|
return minorVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int getRevisionVersion()
|
||||||
|
{
|
||||||
|
return revisionVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static int getBuildVersion()
|
||||||
|
{
|
||||||
|
return buildVersion;
|
||||||
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
{
|
{
|
||||||
plantGrassList = new ArrayList<ProbableItem>();
|
plantGrassList = new ArrayList<ProbableItem>();
|
||||||
|
|
Loading…
Reference in a new issue