diff --git a/config.php b/config.php index bf4dc36f..d72f4483 100644 --- a/config.php +++ b/config.php @@ -272,6 +272,5 @@ $config = array( 'date_timezone' => 'Europe/Berlin', // more info at http://php.net/manual/en/timezones.php 'footer_show_load_time' => true, // display load time of the page in the footer - 'monsters' => array(), 'npc' => array() -); \ No newline at end of file +); diff --git a/system/libs/validator.php b/system/libs/validator.php index b2871edd..1daa7a8b 100644 --- a/system/libs/validator.php +++ b/system/libs/validator.php @@ -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()) {