Various Fixes #124

Merged
SenseiKiwi merged 8 commits from master into master 2014-01-06 04:16:28 +00:00
Showing only changes of commit 1211644f55 - Show all commits

View File

@@ -116,7 +116,7 @@ public class PocketBuilder
} }
} }
private static boolean buildDungeonPocket(DungeonData dungeon, NewDimData dimension, DimLink link, DungeonSchematic schematic,World world, DDProperties properties) private static boolean buildDungeonPocket(DungeonData dungeon, NewDimData dimension, DimLink link, DungeonSchematic schematic, World world, DDProperties properties)
{ {
//Calculate the destination point //Calculate the destination point
DungeonPackConfig packConfig = dungeon.dungeonType().Owner != null ? dungeon.dungeonType().Owner.getConfig() : null; DungeonPackConfig packConfig = dungeon.dungeonType().Owner != null ? dungeon.dungeonType().Owner.getConfig() : null;
@@ -145,7 +145,7 @@ public class PocketBuilder
return true; return true;
} }
public static boolean generateSelectedDungeonPocket(DimLink link, DDProperties properties,DungeonData data) public static boolean generateSelectedDungeonPocket(DimLink link, DDProperties properties, DungeonData data)
{ {
if (link == null) if (link == null)
{ {
@@ -183,7 +183,7 @@ public class PocketBuilder
System.err.println("Could not select a dungeon for generation!"); System.err.println("Could not select a dungeon for generation!");
return false; return false;
} }
schematic = loadAndValidateDungeon(dungeon,properties); schematic = loadAndValidateDungeon(dungeon, properties);
return PocketBuilder.buildDungeonPocket(dungeon, dimension, link, schematic, world, properties); return PocketBuilder.buildDungeonPocket(dungeon, dimension, link, schematic, world, properties);