Merge remote-tracking branch 'upstream/master' into R1.4.0-improvements
This commit is contained in:
@@ -72,7 +72,21 @@ public class SchematicLoader
|
||||
|
||||
public void init(LinkData link)
|
||||
{
|
||||
String filePath = dimHelper.dimList.get(link.destDimID).dungeonGenerator.schematicPath;
|
||||
//adding default pocket
|
||||
String filePath="";
|
||||
if(!dimHelper.dimList.containsKey(link.destDimID))
|
||||
{
|
||||
|
||||
}
|
||||
else if(dimHelper.dimList.get(link.destDimID).dungeonGenerator==null)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
filePath = dimHelper.dimList.get(link.destDimID).dungeonGenerator.schematicPath;
|
||||
}
|
||||
|
||||
|
||||
this.schematic=filePath;
|
||||
try
|
||||
|
||||
@@ -180,7 +180,7 @@ public class LimboGenerator extends ChunkProviderGenerate implements IChunkProvi
|
||||
|
||||
|
||||
|
||||
if(rand.nextInt(4)>1)
|
||||
if(rand.nextInt(7)>1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user