We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae97b16 commit 75d04b5Copy full SHA for 75d04b5
src/jp/mcbe/fuyutsuki/Texter/Main.php
@@ -250,7 +250,7 @@ private function isPhar(): bool {
250
}
251
252
private function isPackagedByPharynx(): bool {
253
- return is_dir($this->getFile() . Dependencies::PHARYNX_LIBRARY_DIR);
+ return is_file($this->getFile() . Dependencies::PACKAGED_POGGIT_FILE);
254
255
256
public static function prefix(): string {
src/jp/mcbe/fuyutsuki/Texter/util/dependencies/Dependencies.php
@@ -10,9 +10,7 @@ final class Dependencies {
10
11
use Imconstructable;
12
13
- public const PLUGIN_NAMESPACE = "\\jp\\mcbe\\fuyutsuki\\Texter";
14
-
15
- public const PHARYNX_LIBRARY_DIR = "\\libs";
+ public const PACKAGED_POGGIT_FILE = ".poggit";
16
public const PMFORMS = "\\dktapps\\pmforms\\BaseForm";
17
18
0 commit comments