From 1425d71bdfbee0c834f1117015d3ac4793fc9e1a Mon Sep 17 00:00:00 2001 From: Pat Patterson Date: Sun, 1 Mar 2015 21:16:39 -0800 Subject: [PATCH] Mark the modified chunks as changed so the changes are applied and diamond marker blocks don't survive. --- minecraft_print.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/minecraft_print.py b/minecraft_print.py index f2b3316..1250695 100644 --- a/minecraft_print.py +++ b/minecraft_print.py @@ -85,10 +85,12 @@ def find_markers(self): self.markers.append([x_pos, z_pos, dx, dz, dy]) for y in range(256): chunk.Blocks[dx, dz, y] = 0 + chunk.chunkChanged() elif dy < 126 and chunk.Blocks[dx, dz, dy + 1] == self.gold and chunk.Blocks[dx, dz, dy + 2] == self.iron: self.markers.append([x_pos, z_pos, dx, dz, dy]) for y in range(256): chunk.Blocks[dx, dz, y] = 0 + chunk.chunkChanged() def copy_marked_area(self): #Now we have the markers. Time to get serious