PocketMine-MP Crash Dump Fri Mar 11 23:49:09 CST 2022
Error: tedo0627\redstonecircuit\block\entity\BlockEntityMoving::setMovingBlockStates(): Argument #1 ($tag) must be of type pocketmine\nbt\tag\CompoundTag, null given, called in /home/ubuntu/myserver/plugins/RedstoneCircuit-master/src/tedo0627/redstonecircuit/block/entity/BlockEntityMoving.php on line 20
File: plugins/RedstoneCircuit-master/src/tedo0627/redstonecircuit/block/MovingBlockTrait
Line: 58
Type: TypeError
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN: RedstoneCircuit
Code:
[49]
[50] public function setMovingBlockName(string $name): void {
[51] $this->movingBlockName = $name;
[52] }
[53]
[54] public function getMovingBlockStates(): CompoundTag {
[55] return $this->movingBlockStates;
[56] }
[57]
[58] public function setMovingBlockStates(CompoundTag $tag): void {
[59] $this->movingBlockStates = $tag;
[60] }
[61]
[62] public function getMovingEntity(): ?CompoundTag {
[63] return $this->movingEntity;
[64] }
[65]
[66] public function setMovingEntity(?CompoundTag $tag): void {
[67] $this->movingEntity = $tag;
[68] }
Describe the bug When i convert my world of pm3 to pm4 and join this world(in pm4)
Screenshots or videos![image](https://user-images.githubusercontent.com/95081674/157901229-a3f0ad3f-9dfd-45e5-b61e-f2735093f4af.png)
OS and versions
PocketMine-MP Crash Dump Fri Mar 11 23:49:09 CST 2022
Error: tedo0627\redstonecircuit\block\entity\BlockEntityMoving::setMovingBlockStates(): Argument #1 ($tag) must be of type pocketmine\nbt\tag\CompoundTag, null given, called in /home/ubuntu/myserver/plugins/RedstoneCircuit-master/src/tedo0627/redstonecircuit/block/entity/BlockEntityMoving.php on line 20 File: plugins/RedstoneCircuit-master/src/tedo0627/redstonecircuit/block/MovingBlockTrait Line: 58 Type: TypeError
THIS CRASH WAS CAUSED BY A PLUGIN BAD PLUGIN: RedstoneCircuit
Code: [49] [50] public function setMovingBlockName(string $name): void { [51] $this->movingBlockName = $name; [52] } [53] [54] public function getMovingBlockStates(): CompoundTag { [55] return $this->movingBlockStates; [56] } [57] [58] public function setMovingBlockStates(CompoundTag $tag): void { [59] $this->movingBlockStates = $tag; [60] } [61] [62] public function getMovingEntity(): ?CompoundTag { [63] return $this->movingEntity; [64] } [65] [66] public function setMovingEntity(?CompoundTag $tag): void { [67] $this->movingEntity = $tag; [68] }
Backtrace:
0 plugins/RedstoneCircuit-master/src/tedo0627/redstonecircuit/block/entity/BlockEntityMoving(20): tedo0627\redstonecircuit\block\entity\BlockEntityMoving->setMovingBlockStates(NULL )
1 pmsrc/src/block/tile/TileFactory(131): tedo0627\redstonecircuit\block\entity\BlockEntityMoving->readSaveData(object pocketmine\nbt\tag\CompoundTag#120291)
2 pmsrc/src/world/World(2555): pocketmine\block\tile\TileFactory->createFromData(object pocketmine\world\World#100657, object pocketmine\nbt\tag\CompoundTag#120291)
3 pmsrc/src/world/World(2482): pocketmine\world\World->initChunk(integer -14, integer 10, object pocketmine\world\format\io\ChunkData#120999)
4 pmsrc/src/world/World(704): pocketmine\world\World->loadChunk(integer -14, integer 10)
5 pmsrc/src/player/Player(747): pocketmine\world\World->registerChunkLoader(object pocketmine\player\PlayerChunkLoader#96086, integer -14, integer 10, true)
6 pmsrc/src/player/Player(913): pocketmine\player\Player->requestChunks()
7 pmsrc/src/network/mcpe/NetworkSession(1063): pocketmine\player\Player->doChunkRequests()
8 pmsrc/src/network/NetworkSessionManager(67): pocketmine\network\mcpe\NetworkSession->tick()
9 pmsrc/src/network/Network(91): pocketmine\network\NetworkSessionManager->tick()
10 pmsrc/src/Server(1778): pocketmine\network\Network->tick()
11 pmsrc/src/Server(1657): pocketmine\Server->tick()
12 pmsrc/src/Server(1046): pocketmine\Server->tickProcessor()
13 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#3, object pocketmine\utils\MainLogger#2, string[22] /home/ubuntu/myserver/, string[30] /home/ubuntu/myserver/plugins/)
14 pmsrc/src/PocketMine(327): pocketmine\server()
15 pmsrc(11): require(string[66] phar:///home/ubuntu/myserver/PocketMine-MP.phar/src/PocketMine.php)