menu
#2471339 Argument 2 passed to pocketmine\nbt\tag\DoubleTag::__construct() must be of the type float, array given

Submitted by PocketMine-MP 3.8.3

General information

Version: 3.8.3
Git commit: 63e58677
Plugin involvement: None
Report date: 2019-06-12 15:09:50 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux Vps2 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1 (2019-04-12) x86_64

Error information

Message: Argument 2 passed to pocketmine\nbt\tag\DoubleTag::__construct() must be of the type float, array given
File: vendor/pocketmine/nbt/src/tag/DoubleTag
Line: #40
Error level: TypeError
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

class DoubleTag extends NamedTag{
/** @var float */
private $value;

/**
* @param string $name
* @param float $value
*/
public function __construct(string $name = "", float $value = 0.0){
parent::__construct($name);
$this->value = $value;
}

public function getType() : int{
return NBT::TAG_Double;
}

public function read(NBTStream $nbt, ReaderTracker $tracker) : void{
$this->value = $nbt->getDouble();
#0 src/pocketmine/entity/Entity(939): pocketmine\nbt\tag\DoubleTag->__construct(string , array Array())
#1 src/pocketmine/entity/Living(167): pocketmine\entity\Entity->saveNBT()
#2 src/pocketmine/entity/Human(776): pocketmine\entity\Living->saveNBT()
#3 src/pocketmine/Player(3583): pocketmine\entity\Human->saveNBT()
#4 src/pocketmine/Player(3501): pocketmine\Player->save()
#5 src/pocketmine/network/mcpe/RakLibInterface(176): pocketmine\Player->close(pocketmine\lang\TranslationContainer object, string Internal server error)
#6 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 77.180.42.235 34313, raklib\protocol\EncapsulatedPacket object, integer 0)
#7 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
#8 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
#9 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
#10 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#11 src/pocketmine/Server(2339): pocketmine\snooze\SleeperHandler->sleepUntil(double 1560352190.6824)
#12 src/pocketmine/Server(2196): pocketmine\Server->tickProcessor()
#13 src/pocketmine/Server(1775): pocketmine\Server->start()
#14 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /root/Dev/, string /root/Dev/plugins/)
#15 (1): require(string phar:///root/Dev/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show