0

Changed blank sign logic to use aheadley's suggestion.

This commit is contained in:
Alex Cline
2010-12-31 20:45:02 -05:00
parent 802cd30dc8
commit ee1e7c3aa9

View File

@@ -905,7 +905,8 @@ class ChunkRenderer(object):
for entity in tileEntities:
if entity['id'] == 'Sign':
if entity['Text1'] != '' and entity['Text2'] != '' and entity['Text3'] != '' and entity['Text3'] != '':
msg=' \n'.join([entity['Text1'], entity['Text2'], entity['Text3'], entity['Text4']])
if not msg.strip():
# convert the blockID coordinates from local chunk
# coordinates to global world coordinates
newPOI = dict(type="sign",