32 lines
584 B
Java
32 lines
584 B
Java
package pm.j4.petroleum.modules.splash;
|
|
|
|
import pm.j4.petroleum.PetroleumMod;
|
|
import pm.j4.petroleum.modules.base.ModuleBase;
|
|
|
|
/**
|
|
* The type Splash text.
|
|
*/
|
|
public class SplashText extends ModuleBase {
|
|
/**
|
|
* Instantiates a new Splash text.
|
|
*/
|
|
public SplashText() {
|
|
super("petroleum.splashtext",
|
|
true,
|
|
true,
|
|
false);
|
|
}
|
|
|
|
/**
|
|
* Get string.
|
|
*
|
|
* @return the string
|
|
*/
|
|
public static String get() {
|
|
if (PetroleumMod.modData != null) {
|
|
return "Petroleum v" + PetroleumMod.modData.getVersion().getFriendlyString();
|
|
}
|
|
return "Petroleum vUnknown";
|
|
}
|
|
}
|