gdmc_http_client_python
gdmc_http_client_python copied to clipboard
visualizeMap.py cannot work with negative coordinates
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]
I think #67 solves this.
Moved to https://github.com/avdstaaij/gdpc/issues/41