Merge remote-tracking branch 'upstream/master' into R1.4.0-improvements
This commit is contained in:
@@ -76,11 +76,15 @@ public class SchematicLoader
|
|||||||
String filePath=DungeonHelper.instance().defaultBreak.schematicPath;
|
String filePath=DungeonHelper.instance().defaultBreak.schematicPath;
|
||||||
if(dimHelper.dimList.containsKey(link.destDimID))
|
if(dimHelper.dimList.containsKey(link.destDimID))
|
||||||
{
|
{
|
||||||
if(dimHelper.dimList.get(link.destDimID).dungeonGenerator!=null)
|
if(dimHelper.dimList.get(link.destDimID).dungeonGenerator==null)
|
||||||
{
|
{
|
||||||
filePath = dimHelper.dimList.get(link.destDimID).dungeonGenerator.schematicPath;
|
|
||||||
|
DungeonHelper.instance().generateDungeonLink(link);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
filePath = dimHelper.dimList.get(link.destDimID).dungeonGenerator.schematicPath;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -88,6 +92,7 @@ public class SchematicLoader
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.schematic=filePath;
|
this.schematic=filePath;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -523,12 +523,6 @@ public class DungeonHelper
|
|||||||
boolean flag = true;
|
boolean flag = true;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (dimHelper.dimList.get(incoming.destDimID) != null &&
|
|
||||||
dimHelper.dimList.get(incoming.destDimID).dungeonGenerator != null)
|
|
||||||
{
|
|
||||||
mod_pocketDim.loader.init(incoming);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (incoming.destYCoord > 15)
|
if (incoming.destYCoord > 15)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user