Skip to content

Commit d48aa68

Browse files
committed
Merge branch 'dev/4.1'
2 parents aed83ff + d0473c3 commit d48aa68

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

.github/changelogs/4.x/en_us.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## 4.1.x
44

5+
### 4.1.8
6+
7+
#### :arrow_heading_up: follow PMMP changes
8+
9+
- Added support for PMMP 4.10.x (Minecraft 1.19.40~)
10+
511
### 4.1.7
612

713
#### :bug: bug fixes

.github/changelogs/4.x/ja_jp.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## 4.1.x
44

5+
### 4.1.8
6+
7+
#### :arrow_heading_up: PMMPの変更に追従
8+
9+
- PMMP 4.10.x (Minecraft 1.19.40~) に対応しました
10+
511
### 4.1.7
612

713
#### :bug: バグ修正

plugin.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Texter
22
prefix: Texter
33
main: jp\mcbe\fuyutsuki\Texter\Main
4-
version: 4.1.7
5-
api: 4.7.0
4+
version: 4.1.8
5+
api: 4.10.0
66
softdepend:
77
# aieuo/Mineflow
88
- Mineflow # >= 2.0

src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
use pocketmine\network\mcpe\protocol\types\entity\EntityMetadataProperties;
2626
use pocketmine\network\mcpe\protocol\types\entity\FloatMetadataProperty;
2727
use pocketmine\network\mcpe\protocol\types\entity\LongMetadataProperty;
28+
use pocketmine\network\mcpe\protocol\types\entity\PropertySyncData;
2829
use pocketmine\network\mcpe\protocol\types\entity\StringMetadataProperty;
2930
use pocketmine\network\mcpe\protocol\types\inventory\ItemStack;
3031
use pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper;
@@ -141,6 +142,7 @@ public function asPackets(Player $player, SendType $type): array {
141142
]),
142143
EntityMetadataProperties::SCALE => new FloatMetadataProperty(0.0),
143144
],
145+
new PropertySyncData([], []),
144146
UpdateAbilitiesPacket::create(CommandPermissions::NORMAL, PlayerPermissions::VISITOR, $this->actorRuntimeId, []),
145147
[],
146148
"",
@@ -159,6 +161,7 @@ public function asPackets(Player $player, SendType $type): array {
159161
[
160162
EntityMetadataProperties::NAMETAG => new StringMetadataProperty($this->replaceVariables($player)),
161163
],
164+
new PropertySyncData([], []),
162165
0
163166
);
164167
$pks = [$pk];

0 commit comments

Comments
 (0)