Remove useless config variable

This commit is contained in:
slawkens
2020-02-07 01:06:19 +01:00
parent 1e5e576bd0
commit 1ba2381437
2 changed files with 1 additions and 10 deletions

View File

@@ -280,14 +280,6 @@ class Validator
}
}
if(isset($config['monsters']))
{
if(in_array($name_lower, $config['monsters'])) {
self::$lastError = 'Your name cannot contains monster name.';
return false;
}
}
$player = new OTS_Player();
$player->find($name);
if($player->isLoaded()) {