Trivial Changes

Made trivial changes to DungeonHelper. Just some spacing and a note to
check something in the future. Need to commit to change branches.
This commit is contained in:
SenseiKiwi
2013-06-16 14:40:26 -04:00
parent b2f5c4ea4e
commit cf2246061c

View File

@@ -507,15 +507,16 @@ public class DungeonHelper
int depthWeight = rand.nextInt(depth)+rand.nextInt(depth)-2;
depth=depth-2;
// DungeonGenerator
depth = depth - 2;
boolean flag = true;
int count=10;
int count = 10;
try
{
if(dimHelper.dimList.get(incoming.destDimID)!=null&&dimHelper.dimList.get(incoming.destDimID).dungeonGenerator!=null)
if (dimHelper.dimList.get(incoming.destDimID) != null&&dimHelper.dimList.get(incoming.destDimID).dungeonGenerator!=null)
{
mod_pocketDim.loader.init(incoming);
//TODO: Check this!
//What the hell? Isn't this line saying X = X..? ~SenseiKiwi
dimHelper.dimList.get(incoming.destDimID).dungeonGenerator=dimHelper.dimList.get(incoming.destDimID).dungeonGenerator;
return;
}
@@ -644,13 +645,13 @@ public class DungeonHelper
}
catch (Exception e)
{
e.printStackTrace();
if (weightedDungeonGenList.size() > 0)
{
dungeon = weightedDungeonGenList.get(rand.nextInt(weightedDungeonGenList.size()));
}
else
{
e.printStackTrace();
return;
}
}