Fixed config option not changing properly

Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
StevenRS11 2013-02-26 11:29:17 -05:00
parent 42d1e646f7
commit c39b8cb97e

View file

@ -139,7 +139,7 @@ public class RiftGenerator implements IWorldGenerator
}
}
if(random.nextInt(120)==0&&world.provider.getDimensionName()!="PocketDim"&&!world.isRemote)
if(random.nextInt(120)==0&&world.provider.getDimensionName()!="PocketDim"&&!world.isRemote&&mod_pocketDim.riftsInWorldGen)
{
// System.out.println("tryingToGen");
int blockID=Block.stoneBrick.blockID;