diff --git a/README.md b/README.md
index 48970fc..5f6b859 100644
--- a/README.md
+++ b/README.md
@@ -15,13 +15,15 @@ Select Language: [English](#eng), [日本語](#jpn)
# English
+
## Texter
Texter is plugin that displays and deletes FloatingTextPerticle supported to multi-world.
-Latest: ver **2.2.5** _Papilio dehaanii(カラスアゲハ)_
+Latest: ver **2.2.6** _Papilio dehaanii(カラスアゲハ)_
### Supporting
- [x] Multi-language (eng, jpn)
@@ -70,12 +72,14 @@ It is output as follows.
# 日本語
+
## Texter
TexterはFloatingTextPerticleを複数ワールドに渡り表示、削除ができるプラグインです。
-最新バージョン: **2.2.5** _Papilio dehaanii(カラスアゲハ)_
+最新バージョン: **2.2.6** _Papilio dehaanii(カラスアゲハ)_
### 対応状況
- [x] 複数言語 (eng, jpn)
diff --git a/src/Texter/text/Text.php b/src/Texter/text/Text.php
index 40657dc..d52380e 100644
--- a/src/Texter/text/Text.php
+++ b/src/Texter/text/Text.php
@@ -247,13 +247,13 @@ public function getTitle(): string{
/**
* タイトルを変更します, # で改行です.
* @param string $title
- * @return bool true
+ * @return Text
*/
- public function setTitle(string $title): bool{
+ public function setTitle(string $title): Text{
$this->title = str_replace("#", "\n", $title);
$this->api->saveCrft($this);
$this->sendToLevel(self::SEND_TYPE_ADD);
- return true;
+ return $this;
}
/**
@@ -267,13 +267,13 @@ public function getText(): string{
/**
* テキストを変更します, # で改行です
* @param string $text
- * @return bool true
+ * @return Text
*/
- public function setText(string $text): bool{
+ public function setText(string $text): Text{
$this->text = str_replace("#", "\n", $text);
$this->api->saveCrft($this);
$this->sendToLevel(self::SEND_TYPE_ADD);
- return true;
+ return $this;
}
/**
@@ -287,12 +287,12 @@ public function isInvisible(): bool{
/**
* 不可視かどうか変更します
* @param bool $bool
- * @return bool true
+ * @return Text
*/
- public function setInvisible(bool $bool): bool{
+ public function setInvisible(bool $bool): Text{
$this->invisible = $bool;
$this->sendToLevel(self::SEND_TYPE_ADD);
- return true;
+ return $this;
}
/**
@@ -306,13 +306,13 @@ public function getEntityId(): int{
/**
* エンティティIDを変更します
* @param int $eid
- * @return bool true
+ * @return Text
*/
- public function setEntityId(int $eid): bool{
+ public function setEntityId(int $eid): Text{
$this->sendToLevel(self::SEND_TYPE_REMOVE);
$this->eid = $eid;
$this->sendToLevel(self::SEND_TYPE_ADD);
- return true;
+ return $this;
}
/**