public function onDisable() { if ($this->macroDataProvider) { $this->macroDataProvider->close(); } if ($this->playerDataProvider) { $this->playerDataProvider->close(); } if ($this->clipboardProvider) { $this->clipboardProvider->close(); } }
public function __construct(WorldEditArt $main) { parent::__construct($main); $this->initGC(); }