Skip to content

Commit

Permalink
Merge branch 'dev/4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyutsuki committed Oct 30, 2022
2 parents aed83ff + d0473c3 commit d48aa68
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/changelogs/4.x/en_us.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/changelogs/4.x/ja_jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: バグ修正
Expand Down
4 changes: 2 additions & 2 deletions plugin.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/jp/mcbe/fuyutsuki/Texter/text/FloatingText.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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, []),
[],
"",
Expand All @@ -159,6 +161,7 @@ public function asPackets(Player $player, SendType $type): array {
[
EntityMetadataProperties::NAMETAG => new StringMetadataProperty($this->replaceVariables($player)),
],
new PropertySyncData([], []),
0
);
$pks = [$pk];
Expand Down

0 comments on commit d48aa68

Please sign in to comment.