summaryrefslogtreecommitdiff
path: root/tools/itemdbconverter.pl
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-15 15:43:51 +0100
committerHaru <haru@dotalux.com>2013-11-15 15:43:51 +0100
commite249264cb8370c2d3143197308e0d0dca69a71a9 (patch)
tree1d74eef9f52fd4eb100baa2c30a35a1c0f9f5f91 /tools/itemdbconverter.pl
parentf0279f15bc3f2d58c66f399ee717d024e6256be4 (diff)
downloadhercules-e249264cb8370c2d3143197308e0d0dca69a71a9.tar.gz
hercules-e249264cb8370c2d3143197308e0d0dca69a71a9.tar.bz2
hercules-e249264cb8370c2d3143197308e0d0dca69a71a9.tar.xz
hercules-e249264cb8370c2d3143197308e0d0dca69a71a9.zip
Added support for case-insensitive jobmasks to the itemdb converter
- Fixes parsing failures due to lower- (or mixed-) case job masks. - Special thanks to ossi0110 for the report. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'tools/itemdbconverter.pl')
-rwxr-xr-xtools/itemdbconverter.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/itemdbconverter.pl b/tools/itemdbconverter.pl
index bd7254373..54c17262d 100755
--- a/tools/itemdbconverter.pl
+++ b/tools/itemdbconverter.pl
@@ -85,7 +85,7 @@ sub parsedb (@) {
(?<DEF>[0-9-]*),
(?<Range>[0-9]*),
(?<Slots>[0-9]*),
- (?<Job>[x0-9A-F]*),
+ (?<Job>[x0-9A-Fa-f]*),
(?<Upper>[0-9]*),
(?<Gender>[0-9]*),
(?<Loc>[0-9]*),