mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 04:26:03 +00:00
ignore dummy items
This commit is contained in:
parent
60b2a7b629
commit
919cbc58e0
@ -114,7 +114,7 @@ class D2Char {
|
||||
FROM skills as sk
|
||||
LEFT JOIN skilldesc ON sk.skilldesc = skilldesc.skilldesc
|
||||
LEFT JOIN strings on skilldesc.`str name` = strings.Key
|
||||
WHERE sk.charclass = '$class'";
|
||||
WHERE sk.charclass = '$class' AND sk.skilldesc != 'dummy'";
|
||||
$sd = PDO_FetchAll($sql); // Fetch skill data from the database
|
||||
foreach ($sd as $k => $v) {
|
||||
$this->skillData[$k + 1] = $v;
|
||||
|
Loading…
Reference in New Issue
Block a user