Schematics give a new crash now.

This commit is contained in:
StevenRS11
2014-01-13 23:13:16 -05:00
parent 5f7d4ce971
commit 9f00345065
3 changed files with 23 additions and 24 deletions

View File

@@ -378,13 +378,8 @@ 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
//Ignore air blocks
//TODO
//if(blocks[index]!=0)
{
setBlockDirectly(world, x + dx, y + dy, z + dz, blocks[index], metadata[index]);
}
setBlockDirectly(world, x + dx, y + dy, z + dz, blocks[index], metadata[index]);
index++;
}
}