Fixed Gateway Crash (for real) #132

Merged
SenseiKiwi merged 2 commits from master into master 2014-01-22 23:44:12 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3079e546a1 - Show all commits

View File

@@ -74,7 +74,7 @@ public class yCoordHelper
public static Point3D findSafeCubeUp(World world, int x, int startY, int z) public static Point3D findSafeCubeUp(World world, int x, int startY, int z)
{ {
// Search for a 3x3x3 cube of air with blocks underneath // Search for a 3x3x3 cube of air with blocks underneath
// We can also match against a 3x2x3 box with // We can also match against a 3x2x3 box with replaceable blocks underneath
// We shift the search area into the bounds of a chunk for the sake of simplicity, // We shift the search area into the bounds of a chunk for the sake of simplicity,
// so that we don't need to worry about working across chunks. // so that we don't need to worry about working across chunks.

View File

@@ -82,8 +82,8 @@ public abstract class BaseGateway
DungeonSchematic schematic = this.getSchematicToBuild(world, x, y, z); DungeonSchematic schematic = this.getSchematicToBuild(world, x, y, z);
//apply filters //apply filters
schematic.applyFilter(filter);
schematic.applyImportFilters(properties); schematic.applyImportFilters(properties);
schematic.applyFilter(filter);
Point3D doorLocation = filter.getEntranceDoorLocation(); Point3D doorLocation = filter.getEntranceDoorLocation();
orientation = filter.getEntranceOrientation(); orientation = filter.getEntranceOrientation();