Added conditional to only add signs that are not blank to the POI list.
This commit is contained in:
2
chunk.py
2
chunk.py
@@ -905,7 +905,7 @@ class ChunkRenderer(object):
|
||||
|
||||
for entity in tileEntities:
|
||||
if entity['id'] == 'Sign':
|
||||
|
||||
if entity['Text1'] != '' and entity['Text2'] != '' and entity['Text3'] != '' and entity['Text3'] != '':
|
||||
# convert the blockID coordinates from local chunk
|
||||
# coordinates to global world coordinates
|
||||
newPOI = dict(type="sign",
|
||||
|
||||
Reference in New Issue
Block a user