summaryrefslogtreecommitdiff
path: root/hercules/code/server
diff options
context:
space:
mode:
Diffstat (limited to 'hercules/code/server')
-rw-r--r--hercules/code/server/tmw/itemdb.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/hercules/code/server/tmw/itemdb.py b/hercules/code/server/tmw/itemdb.py
index c27a06c..596d31a 100644
--- a/hercules/code/server/tmw/itemdb.py
+++ b/hercules/code/server/tmw/itemdb.py
@@ -100,12 +100,14 @@ def convertItemDb():
if len(UseScript) > 1:
writeStartScript(w, "Script")
for uline in UseScript:
- w.write(" {0};\n".format(uline))
+ if len(uline) > 0:
+ w.write(" {0};\n".format(uline))
writeEndScript(w)
if len(EquipScript) > 1:
writeStartScript(w, "OnEquipScript")
for eline in EquipScript:
- w.write(" {0};\n".format(eline))
+ if len(eline) > 0:
+ w.write(" {0};\n".format(eline))
writeEndScript(w)
w.write("},\n")