Updated DDTeleporter #131
@@ -427,6 +427,7 @@ public class PocketBuilder
|
|||||||
//Finish up destination initialization
|
//Finish up destination initialization
|
||||||
dimension.initializePocket(source.getX(), destinationY, source.getZ(), orientation, link);
|
dimension.initializePocket(source.getX(), destinationY, source.getZ(), orientation, link);
|
||||||
dimension.setFilled(true);
|
dimension.setFilled(true);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
@@ -474,7 +475,7 @@ public class PocketBuilder
|
|||||||
//Build the (wallThickness - 1) layers of Fabric of Reality
|
//Build the (wallThickness - 1) layers of Fabric of Reality
|
||||||
for (int layer = 1; layer < wallThickness; layer++)
|
for (int layer = 1; layer < wallThickness; layer++)
|
||||||
{
|
{
|
||||||
buildBox(world, center.getX(), center.getY(), center.getZ(), (size / 2) - layer, properties.FabricBlockID,
|
buildBox(world, center.getX(), center.getY(), center.getZ(), (size / 2) - layer, Block.glowStone.blockID,
|
||||||
layer < (wallThickness - 1) && properties.TNFREAKINGT_Enabled, properties.NonTntWeight);
|
layer < (wallThickness - 1) && properties.TNFREAKINGT_Enabled, properties.NonTntWeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -560,5 +561,6 @@ public class PocketBuilder
|
|||||||
}
|
}
|
||||||
extBlockStorage.setExtBlockID(localX, y & 15, localZ, blockID);
|
extBlockStorage.setExtBlockID(localX, y & 15, localZ, blockID);
|
||||||
extBlockStorage.setExtBlockMetadata(localX, y & 15, localZ, metadata);
|
extBlockStorage.setExtBlockMetadata(localX, y & 15, localZ, metadata);
|
||||||
|
chunk.setChunkModified();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user