Enable parsing of mc v1.9 format sign text.

A very minor change.
This commit is contained in:
Auke Kok 2016-03-23 12:58:52 -07:00
parent 3d919dbfc4
commit 3fb0e0b254

View File

@ -52,6 +52,9 @@ def convert_sign(te):
t = ""
for i in range(1, 5):
line = te.get("Text"+str(i), "").strip('"')
if '{"text":"' in line:
parts = line.split('"')
line = parts[3]
if line != "":
t += line
t += "\n"