From eb8c2680196349d0ae58e313ddb115047abb7bc4 Mon Sep 17 00:00:00 2001 From: yuko fuyutsuki Date: Mon, 31 Oct 2022 01:19:56 +0900 Subject: [PATCH 1/2] Corresponds with PropertySyncData from Minecraft 1.19.40, fix #131, close #132 --- src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php b/src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php index f63b801..3fb3894 100644 --- a/src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php +++ b/src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php @@ -25,6 +25,7 @@ use pocketmine\network\mcpe\protocol\types\entity\EntityMetadataProperties; use pocketmine\network\mcpe\protocol\types\entity\FloatMetadataProperty; use pocketmine\network\mcpe\protocol\types\entity\LongMetadataProperty; +use pocketmine\network\mcpe\protocol\types\entity\PropertySyncData; use pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty; use pocketmine\network\mcpe\protocol\types\inventory\ItemStack; use pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper; @@ -141,6 +142,7 @@ public function asPackets(Player $player, SendType $type): array { ]), EntityMetadataProperties::SCALE => new FloatMetadataProperty(0.0), ], + new PropertySyncData([], []), UpdateAbilitiesPacket::create(CommandPermissions::NORMAL, PlayerPermissions::VISITOR, $this->actorRuntimeId, []), [], "", @@ -159,6 +161,7 @@ public function asPackets(Player $player, SendType $type): array { [ EntityMetadataProperties::NAMETAG => new StringMetadataProperty($this->replaceVariables($player)), ], + new PropertySyncData([], []), 0 ); $pks = [$pk]; From d0473c3db4917ad734490dbd9183cf13097cedee Mon Sep 17 00:00:00 2001 From: yuko fuyutsuki Date: Mon, 31 Oct 2022 01:22:36 +0900 Subject: [PATCH 2/2] Release 4.1.8 --- .github/changelogs/4.x/en_us.md | 6 ++++++ .github/changelogs/4.x/ja_jp.md | 6 ++++++ plugin.yml | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/changelogs/4.x/en_us.md b/.github/changelogs/4.x/en_us.md index 9325478..8800fd0 100644 --- a/.github/changelogs/4.x/en_us.md +++ b/.github/changelogs/4.x/en_us.md @@ -2,6 +2,12 @@ ## 4.1.x +### 4.1.8 + +#### :arrow_heading_up: follow PMMP changes + +- Added support for PMMP 4.10.x (Minecraft 1.19.40~) + ### 4.1.7 #### :bug: bug fixes diff --git a/.github/changelogs/4.x/ja_jp.md b/.github/changelogs/4.x/ja_jp.md index dfa5fe2..6adea77 100644 --- a/.github/changelogs/4.x/ja_jp.md +++ b/.github/changelogs/4.x/ja_jp.md @@ -2,6 +2,12 @@ ## 4.1.x +### 4.1.8 + +#### :arrow_heading_up: PMMPの変更に追従 + +- PMMP 4.10.x (Minecraft 1.19.40~) に対応しました + ### 4.1.7 #### :bug: バグ修正 diff --git a/plugin.yml b/plugin.yml index f49aa96..c4d91cc 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,8 +1,8 @@ name: Texter prefix: Texter main: jp\mcbe\fuyutsuki\Texter\Main -version: 4.1.7 -api: 4.7.0 +version: 4.1.8 +api: 4.10.0 softdepend: # aieuo/Mineflow - Mineflow # >= 2.0