Skip to content

Commit

Permalink
Fix pocket schematics
Browse files Browse the repository at this point in the history
  • Loading branch information
Runemoro committed Dec 22, 2017
1 parent 02c7c61 commit 00e02bd
Show file tree
Hide file tree
Showing 17 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ private static Schematic generatePocketSchematic(String baseName, int pocketSize
for (int x = 0; x < size; x++) {
for (int y = 0; y < size; y++) {
for (int z = 0; z < size; z++) {
int layer = Collections.min(Arrays.asList(x, y, z, size - x, size - y, size - z));
int layer = Collections.min(Arrays.asList(x, y, z, size - 1 - x, size - 1 - y, size - 1 - z));
if (layer == 0) {
schematic.blockData[x][y][z] = 1; // outer wall
} else if (layer < 5) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 00e02bd

Please sign in to comment.