Jason Scheirer avatar Jason Scheirer committed f7196dd

Whoops, overflow on map edge

Comments (0)

Files changed (1)

                                                     0,
                                                     -(self.world_side_length/2)),
                                                     (self.world_side_length
-                                                        + self.block_length,
+                                                        + self.block_length * 3,
                                                      1,
                                                      self.world_side_length
-                                                        + self.block_length))
+                                                        + self.block_length * 3))
         # Spread out a bit so there's no seams on the edges 
         while not (bedrockbox.minx % 16 == 0):
             bedrockbox.minx -= 1
             bedrockbox.minz -= 1
         while not (bedrockbox.maxz % 16 == 0):
             bedrockbox.maxz += 1
-        print "WORLD IS", bedrockbox
-        print "IE", ((bedrockbox.maxcx-bedrockbox.mincx)*( bedrockbox.maxcz-bedrockbox.mincz), ((bedrockbox.mincx, bedrockbox.mincz), (bedrockbox.maxcx, bedrockbox.maxcz)))
         self.mclevel.createChunksInBox(bedrockbox)
         self.mclevel.fillBlocks(bedrockbox, Bedrock)
         bedrockbox.miny = 2
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.