Fix boundary condition on height field - raw can be zero, function
return value must not be. Also, fix debugger loading function.
This commit is contained in:
parent
340da29e18
commit
fc88dfad41
3 changed files with 6 additions and 2 deletions
|
|
@ -122,6 +122,7 @@ public class FlatMap extends MapType {
|
|||
mapiter.initialize(t.x * t.size + x, 127, t.y * t.size);
|
||||
for (int y = 0; y < t.size; y++, mapiter.incrementZ()) {
|
||||
int blockType;
|
||||
mapiter.setY(127);
|
||||
if(isnether) {
|
||||
while((blockType = mapiter.getBlockTypeID()) != 0) {
|
||||
mapiter.decrementY();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue