1
0
forked from xjboss/KCauldronX

Add option to allow nether portals in non overworld (close #58)

This commit is contained in:
Prototik
2015-06-28 00:29:43 +07:00
parent eedf6789a0
commit 712aab7c57
3 changed files with 11 additions and 3 deletions

View File

@ -10,6 +10,7 @@ import java.util.Properties;
import org.spigotmc.RestartCommand;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.FMLLog;
public class KCauldron {
private static boolean sManifestParsed = false;
@ -109,7 +110,7 @@ public class KCauldron {
public static int lookupForgeRevision() {
if (sForgeRevision != 0) return sForgeRevision;
int revision = 0;
int revision = Integer.parseInt(System.getProperty("kcauldron.forgeRevision", "0"));
try {
Properties p = new Properties();
p.load(KCauldron.class