more work on gateways, plus tried to add a pack.
Gateway is generating, finally, but it has some... issues. Inquire within. Just generate a new world, and use an unstable door to warp to the first that gens.
This commit is contained in:
@@ -155,7 +155,9 @@ public class Schematic {
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
ex.printStackTrace();
|
||||
throw new InvalidSchematicException("The schematic could not be decoded.");
|
||||
|
||||
}
|
||||
|
||||
//load size of schematic to generate
|
||||
@@ -377,7 +379,10 @@ public class Schematic {
|
||||
for (dx = 0; dx < width; dx++)
|
||||
{
|
||||
//In the future, we might want to make this more efficient by building whole chunks at a time
|
||||
setBlockDirectly(world, x + dx, y + dy, z + dz, blocks[index], metadata[index]);
|
||||
if(blocks[index]!=0)
|
||||
{
|
||||
setBlockDirectly(world, x + dx, y + dy, z + dz, blocks[index], metadata[index]);
|
||||
}
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user