Bugfixing

This commit is contained in:
color.diff=auto 2021-03-26 22:07:37 -06:00
parent 70e09747e3
commit b85fbf02b3
2 changed files with 2 additions and 4 deletions

View File

@ -39,8 +39,9 @@ if (file_exists("d2im.db") && (file_exists($_SESSION['modname'].".db"))){
$armor = PDO_FetchAll('SELECT * FROM armor WHERE `spawnable`=1');
$weapon = PDO_FetchAll('SELECT * FROM weapons WHERE `spawnable`=1');
$prop = $parser->parseFile('Properties.txt');
$prop = $parser->filterProps('Properties.txt');
// If there's data, process it and save
if (!empty($_POST)) {

View File

@ -32,9 +32,6 @@ class D2TxtParser {
}
public function parseFile($file) {
if ($file == "Properties.txt") {
return $this->filterProps($file);
}
return $this->parseData($file);
}