public function __construct(WorldEditArt $main, $dir)
 {
     parent::__construct($main);
     $this->dir = $dir;
     if (!is_dir($dir)) {
         mkdir($dir, 0777, true);
     }
     $this->nextId = (int) file_get_contents($dir . "nextId");
     // boolean false will be casted to 0 if file was not created
 }
 public function __construct(WorldEditArt $main)
 {
     parent::__construct($main);
 }