fuyutsuki / Texter

Texter is a plugin for PocketMine-MP that supports multiple worlds and allows you to add, edit, move, and delete FloatingText.
https://poggit.pmmp.io/p/Texter
University of Illinois/NCSA Open Source License
62 stars 39 forks source link

Crashes 1.13 server #65

Closed ramires666 closed 5 years ago

ramires666 commented 5 years ago

必須項目 (Required items)

Error: Call to undefined method pocketmine\entity\Skin::null()
File: plugins/Texter_3.3.0.phar/src/tokyo/pmmp/Texter/text/FloatingText
Line: 187
Type: Error

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: Texter v3.3.0

Code:
[178]         $uuid = UUID::fromRandom();
[179]         $skinData = str_repeat("\x00", 8192);
[180] 
[181]         $apk = new PlayerListPacket;
[182]         $apk->type = PlayerListPacket::TYPE_ADD;
[183]         $apk->entries = [PlayerListEntry::createAdditionEntry(
[184]           $uuid,
[185]           $this->eid,
[186]           $this->getIndentedTexts($owned),
[187]           Skin::null()
[188]         )];
[189] 
[190]         $pk = new AddPlayerPacket;
[191]         $pk->username = $this->getIndentedTexts($owned);
[192]         $pk->uuid = $uuid;
[193]         $pk->entityRuntimeId = $this->eid;
[194]         $pk->entityUniqueId = $this->eid;
[195]         $pk->position = $this;
[196]         $pk->item = Item::get(Item::AIR);
[197]         $flags = 1 << Entity::DATA_FLAG_IMMOBILE;

Backtrace:
#0 plugins/Texter_3.3.0.phar/src/tokyo/pmmp/Texter/text/UnremovableFloatingText(48): tokyo\pmmp\Texter\text\FloatingText->asPackets(integer 0)
#1 plugins/Texter_3.3.0.phar/src/tokyo/pmmp/Texter/task/SendTextsTask(79): tokyo\pmmp\Texter\text\UnremovableFloatingText->sendToPlayer(object pocketmine\Player, integer 0)
#2 src/pocketmine/scheduler/TaskHandler(159): tokyo\pmmp\Texter\task\SendTextsTask->onRun(integer 539)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 539)
#4 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 539)
#5 src/pocketmine/Server(2593): pocketmine\plugin\PluginManager->tickSchedulers(integer 539)
#6 src/pocketmine/Server(2368): pocketmine\Server->tick()
#7 src/pocketmine/Server(2228): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1774): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] C:\pmmp\101119\, string[23] C:\pmmp\101119\plugins\)
#10 src/pocketmine/PocketMine(300): pocketmine\server()
#11 (1): require(string[63] phar://C:/pmmp/101119/Fox123.phar/src/pocketmine/PocketMine.php)

Foxel version: 1.0.0 [Protocol 388]
Git commit: 0000000000000000000000000000000000000000
uname -a: Windows NT COMPUTER 10.0 build 17134 (Windows 10) AMD64
PHP Version: 7.2.24
Zend version: 3.2.0
OS : WINNT, win
fuyutsuki commented 5 years ago

I'll release asap hotfix version: 3.3.1

ramires666 commented 5 years ago

thank you very much

fuyutsuki commented 5 years ago

np :)