Skip to content

Commit

Permalink
Merge branch 'dev/4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyutsuki committed Jul 15, 2023
2 parents dcb5d05 + 75d04b5 commit fc6aa27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/jp/mcbe/fuyutsuki/Texter/Main.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private function isPhar(): bool {
}

private function isPackagedByPharynx(): bool {
return is_dir($this->getFile() . Dependencies::PHARYNX_LIBRARY_DIR);
return is_file($this->getFile() . Dependencies::PACKAGED_POGGIT_FILE);
}

public static function prefix(): string {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ final class Dependencies {

use Imconstructable;

public const PLUGIN_NAMESPACE = "\\jp\\mcbe\\fuyutsuki\\Texter";

public const PHARYNX_LIBRARY_DIR = "\\libs";
public const PACKAGED_POGGIT_FILE = ".poggit";
public const PMFORMS = "\\dktapps\\pmforms\\BaseForm";

}

0 comments on commit fc6aa27

Please sign in to comment.