Signed-off-by: StevenRS11 <stevenrs11@aol.com>
This commit is contained in:
parent
bb5cb23b6c
commit
81a77e90f9
1 changed files with 17 additions and 5 deletions
|
@ -842,6 +842,8 @@ public class SchematicLoader
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for(Point3D point : this.exitLinks)
|
for(Point3D point : this.exitLinks)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
if(world.getBlockId(point.getX(), point.getY(), point.getZ())==mod_pocketDim.ExitDoorID&&world.getBlockId(point.getX(), point.getY()-1, point.getZ())==mod_pocketDim.ExitDoorID&&world.getBlockId(point.getX(), point.getY()-2, point.getZ())==Block.sandStone.blockID)
|
if(world.getBlockId(point.getX(), point.getY(), point.getZ())==mod_pocketDim.ExitDoorID&&world.getBlockId(point.getX(), point.getY()-1, point.getZ())==mod_pocketDim.ExitDoorID&&world.getBlockId(point.getX(), point.getY()-2, point.getZ())==Block.sandStone.blockID)
|
||||||
{
|
{
|
||||||
|
@ -870,6 +872,16 @@ public class SchematicLoader
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
catch(Exception E)
|
||||||
|
{
|
||||||
|
E.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if(!this.incomingLink.equals(new Point3D(0,0,0)))
|
if(!this.incomingLink.equals(new Point3D(0,0,0)))
|
||||||
{
|
{
|
||||||
outgoingLink.locXCoord=this.incomingLink.getX();
|
outgoingLink.locXCoord=this.incomingLink.getX();
|
||||||
|
|
Loading…
Reference in a new issue