Enable parsing of mc v1.9 format sign text.
A very minor change.
This commit is contained in:
parent
3d919dbfc4
commit
3fb0e0b254
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user