Merge branch 'blanksigns' of https://github.com/TheMagistrate/Minecraft-Overviewer into TheMagistrate-blanksigns
This commit is contained in:
3
chunk.py
3
chunk.py
@@ -905,7 +905,8 @@ class ChunkRenderer(object):
|
|||||||
|
|
||||||
for entity in tileEntities:
|
for entity in tileEntities:
|
||||||
if entity['id'] == 'Sign':
|
if entity['id'] == 'Sign':
|
||||||
|
msg=' \n'.join([entity['Text1'], entity['Text2'], entity['Text3'], entity['Text4']])
|
||||||
|
if not msg.strip():
|
||||||
# convert the blockID coordinates from local chunk
|
# convert the blockID coordinates from local chunk
|
||||||
# coordinates to global world coordinates
|
# coordinates to global world coordinates
|
||||||
newPOI = dict(type="sign",
|
newPOI = dict(type="sign",
|
||||||
|
|||||||
Reference in New Issue
Block a user