Merge pull request #132 from SenseiKiwi/master
Fixed Gateway Crash (for real)
This commit is contained in:
commit
bc3438d995
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue