Merge pull request #132 from SenseiKiwi/master

Fixed Gateway Crash (for real)
This commit is contained in:
StevenRS11 2014-01-22 15:44:12 -08:00
commit bc3438d995
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ public class yCoordHelper
public static Point3D findSafeCubeUp(World world, int x, int startY, int z)
{
// 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,
// 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);
//apply filters
schematic.applyFilter(filter);
schematic.applyImportFilters(properties);
schematic.applyFilter(filter);
Point3D doorLocation = filter.getEntranceDoorLocation();
orientation = filter.getEntranceOrientation();