Various Fixes #127
@@ -65,10 +65,10 @@ public abstract class BaseGateway
|
|||||||
doorLocation = filter.getEntranceDoorLocation();
|
doorLocation = filter.getEntranceDoorLocation();
|
||||||
orientation = filter.getEntranceOrientation();
|
orientation = filter.getEntranceOrientation();
|
||||||
|
|
||||||
schematic.copyToWorld(world, x-schematic.getWidth()+doorLocation.getX(), y-schematic.getHeight()+doorLocation.getY(), z-schematic.getLength()+doorLocation.getZ());
|
schematic.copyToWorld(world, x - doorLocation.getX(), y, z - doorLocation.getZ());
|
||||||
|
|
||||||
//TODO debug code to easily locate the rifts
|
//TODO debug code to easily locate the rifts
|
||||||
for(int c = 0; c<240; c++)
|
for (int c = 5; c < 240; c++)
|
||||||
{
|
{
|
||||||
world.setBlock(x, y + c, z, Block.glowStone.blockID);
|
world.setBlock(x, y + c, z, Block.glowStone.blockID);
|
||||||
}
|
}
|
||||||
@@ -123,10 +123,9 @@ public abstract class BaseGateway
|
|||||||
{
|
{
|
||||||
return !surfaceGateway;
|
return !surfaceGateway;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBiomeValid(BiomeGenBase biome)
|
public boolean isBiomeValid(BiomeGenBase biome)
|
||||||
{
|
{
|
||||||
return this.isBiomeSpecific || this.allowedBiomeNames.contains(biome.biomeName.toLowerCase());
|
return this.isBiomeSpecific || this.allowedBiomeNames.contains(biome.biomeName.toLowerCase());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user