menu
#4656368 Too few arguments to function pocketmine\network\mcpe\protocol\types\EntityLink::__construct(), 4 passed in phar://D:/werkstatt/THUMBNAILS/server/plugins/Backpack.phar/src/xenialdan/Backpack/BackpackEntity.php on line 42 and exactly 5 expected

Submitted by PocketMine-MP 3.16.0

General information

Version: 3.16.0
Git commit: d2f68836
Plugin involvement: Indirect
Report date: 2020-11-21 15:35:39 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: win
System banner: Windows NT PETER-MEISENSTE 10.0 build 18363 (Windows 10) AMD64

Error information

Warning: the Backpack plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Message: Too few arguments to function pocketmine\network\mcpe\protocol\types\EntityLink::__construct(), 4 passed in phar://D:/werkstatt/THUMBNAILS/server/plugins/Backpack.phar/src/xenialdan/Backpack/BackpackEntity.php on line 42 and exactly 5 expected
File: src/pocketmine/network/mcpe/protocol/types/EntityLink
Line: #43
Error level: ArgumentCountError
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
	/** @var int */
public $toEntityUniqueId;
/** @var int */
public $type;
/** @var bool */
public $immediate; //for dismounting on mount death
/** @var bool */
public $causedByRider;

public function __construct(int $fromEntityUniqueId, int $toEntityUniqueId, int $type, bool $immediate, bool $causedByRider){
$this->fromEntityUniqueId = $fromEntityUniqueId;
$this->toEntityUniqueId = $toEntityUniqueId;
$this->type = $type;
$this->immediate = $immediate;
$this->causedByRider = $causedByRider;
}
}
#0 plugins/Backpack.phar/src/xenialdan/Backpack/BackpackEntity(42): pocketmine\network\mcpe\protocol\types\EntityLink->__construct(integer 1, integer 7, integer 2, boolean 1)
#1 src/pocketmine/entity/Entity(1961): xenialdan\Backpack\BackpackEntity->sendSpawnPacket(object pocketmine\Player)
#2 src/pocketmine/entity/Human(790): pocketmine\entity\Entity->spawnTo(object pocketmine\Player)
#3 src/pocketmine/Player(1018): pocketmine\entity\Human->spawnTo(object pocketmine\Player)
#4 src/pocketmine/level/Level(2490): pocketmine\Player->sendChunk(integer 16, integer 16, object pocketmine\network\mcpe\protocol\BatchPacket)
#5 src/pocketmine/level/Level(2514): pocketmine\level\Level->sendChunkFromCache(integer 16, integer 16)
#6 src/pocketmine/level/Level(906): pocketmine\level\Level->processChunkRequest()
#7 src/pocketmine/level/Level(787): pocketmine\level\Level->actuallyDoTick(integer 19591)
#8 src/pocketmine/Server(2267): pocketmine\level\Level->doTick(integer 19591)
#9 src/pocketmine/Server(2398): pocketmine\Server->checkTickUpdates(integer 19591, double 1605972937.3218)
#10 src/pocketmine/Server(2154): pocketmine\Server->tick()
#11 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#12 src/pocketmine/Server(1588): pocketmine\Server->start()
#13 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[31] D:\werkstatt\THUMBNAILS\server\, string[39] D:\werkstatt\THUMBNAILS\server\plugins\)
#14 src/pocketmine/PocketMine(304): pocketmine\server()
#15 (11): require(string[86] phar://D:/werkstatt/THUMBNAILS/server/PocketMine-MP.phar/src/pocketmine/PocketMi)

Loaded Plugins

  • Show

Server Settings

  • Show