gdmc_http_client_python icon indicating copy to clipboard operation
gdmc_http_client_python copied to clipboard

visualizeMap.py cannot work with negative coordinates

Open Flashing-Blinkenlights opened this issue 3 years ago • 2 comments

Feature branch: None When using a buildarea with negative coordinates, a ValueError: negative dimensions are not allowed is thrown.

Error:

Traceback (most recent call last):
  File "visualizeMap.py", line 18, in <module>
    slice = WorldSlice(x1, z1, x2, z2)
  File "/home/rafael_novotny/memory_module/Code/GDMC/gdmc_http_client_python/gdpc/worldLoader.py", line 65, in __init__
    self.heightmaps[hmName] = np.zeros(

Suggested implementation:

def what_I_imagine():
    ...

Pro:

  • [fill me]

Con:

  • [fill me]

Flashing-Blinkenlights avatar Feb 27 '22 11:02 Flashing-Blinkenlights

I think #67 solves this.

caranha avatar Feb 27 '22 13:02 caranha

Moved to https://github.com/avdstaaij/gdpc/issues/41

avdstaaij avatar Sep 24 '22 17:09 avdstaaij