changed import function
This commit is contained in:
@@ -49,7 +49,8 @@ public class DungeonGenerator implements Serializable
|
||||
// DungeonGenerator
|
||||
boolean flag = true;
|
||||
int count=10;
|
||||
|
||||
try
|
||||
{
|
||||
if(incoming.destYCoord>15)
|
||||
{
|
||||
do
|
||||
@@ -178,6 +179,11 @@ public class DungeonGenerator implements Serializable
|
||||
{
|
||||
dungeon= mod_pocketDim.defaultUp;
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
dungeon = mod_pocketDim.registeredDungeons.get(rand.nextInt(mod_pocketDim.registeredDungeons.size()));
|
||||
}
|
||||
|
||||
|
||||
mod_pocketDim.loader.init(dungeon.schematicPath, incoming);
|
||||
|
||||
Reference in New Issue
Block a user