We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the issue is not reproducible without plugins:
PocketMine-MP Crash Dump Wed Jun 14 18:03:43 UTC 2017
Error: Value 9999999461 is too large! File: /src/pocketmine/nbt/tag/IntTag Line: 68 Type: notice
Code: [59] /** [60] * @param int $value [61] * [62] * @throws \TypeError [63] */ [64] public function setValue($value){ [65] if(!is_int($value)){ [66] throw new \TypeError("IntTag value must be of type int, " . gettype($value) . " given"); [67] }elseif($value < -(2 ** 31) or $value > ((2 ** 31) - 1)){ [68] throw new \InvalidArgumentException("Value $value is too large!"); [69] } [70] parent::setValue($value); [71] } [72] } [73] [74] [75] [76] [77] [78]
Backtrace: #0 /src/pocketmine/nbt/tag/NamedTag(38): pocketmine\nbt\tag\IntTag->setValue(integer 9999999461) #1 /src/pocketmine/nbt/tag/IntTag(37): pocketmine\nbt\tag\NamedTag->__construct(string Duration, integer 9999999461) #2 /src/pocketmine/entity/Entity(777): pocketmine\nbt\tag\IntTag->__construct(string Duration, integer 9999999461) #3 /src/pocketmine/entity/Living(104): pocketmine\entity\Entity->saveNBT(boolean) #4 /src/pocketmine/entity/Human(434): pocketmine\entity\Living->saveNBT(boolean) #5 /src/pocketmine/Player(3739): pocketmine\entity\Human->saveNBT(boolean) #6 /src/pocketmine/Server(2307): pocketmine\Player->save(boolean 1) #7 /src/pocketmine/Server(2454): pocketmine\Server->doAutoSave(boolean) #8 /src/pocketmine/Server(2190): pocketmine\Server->tick(boolean) #9 /src/pocketmine/Server(2072): pocketmine\Server->tickProcessor(boolean) #10 /src/pocketmine/Server(1654): pocketmine\Server->start(boolean) #11 /src/pocketmine/PocketMine(501): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/BlawoHD/Games/PocketMine-MP.phar/, string /home/BlawoHD/Games/, string /home/BlawoHD/Games/plugins/) #12 (1): require_once(string phar:///home/BlawoHD/Games/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 1.6.2dev #0 [Protocol 113; API 3.0.0-ALPHA5] Git commit: 0000000000000000000000000000000000000000 uname -a: Linux vps 2.6.32-042stab120.19 #1 SMP Mon Feb 20 20:05:53 MSK 2017 x86_64 PHP Version: 7.0.3 Zend version: 3.0.0 OS : Linux, linux
The text was updated successfully, but these errors were encountered:
duplicate of #1072
Sorry, something went wrong.
No branches or pull requests
Issue description
Steps to reproduce the issue
OS and versions
Plugins
If the issue is not reproducible without plugins:
Crashdump, backtrace or other files
PocketMine-MP Crash Dump Wed Jun 14 18:03:43 UTC 2017
Error: Value 9999999461 is too large!
File: /src/pocketmine/nbt/tag/IntTag
Line: 68
Type: notice
Code:
[59] /**
[60] * @param int $value
[61] *
[62] * @throws \TypeError
[63] */
[64] public function setValue($value){
[65] if(!is_int($value)){
[66] throw new \TypeError("IntTag value must be of type int, " . gettype($value) . " given");
[67] }elseif($value < -(2 ** 31) or $value > ((2 ** 31) - 1)){
[68] throw new \InvalidArgumentException("Value $value is too large!");
[69] }
[70] parent::setValue($value);
[71] }
[72] }
[73]
[74]
[75]
[76]
[77]
[78]
Backtrace:
#0 /src/pocketmine/nbt/tag/NamedTag(38): pocketmine\nbt\tag\IntTag->setValue(integer 9999999461)
#1 /src/pocketmine/nbt/tag/IntTag(37): pocketmine\nbt\tag\NamedTag->__construct(string Duration, integer 9999999461)
#2 /src/pocketmine/entity/Entity(777): pocketmine\nbt\tag\IntTag->__construct(string Duration, integer 9999999461)
#3 /src/pocketmine/entity/Living(104): pocketmine\entity\Entity->saveNBT(boolean)
#4 /src/pocketmine/entity/Human(434): pocketmine\entity\Living->saveNBT(boolean)
#5 /src/pocketmine/Player(3739): pocketmine\entity\Human->saveNBT(boolean)
#6 /src/pocketmine/Server(2307): pocketmine\Player->save(boolean 1)
#7 /src/pocketmine/Server(2454): pocketmine\Server->doAutoSave(boolean)
#8 /src/pocketmine/Server(2190): pocketmine\Server->tick(boolean)
#9 /src/pocketmine/Server(2072): pocketmine\Server->tickProcessor(boolean)
#10 /src/pocketmine/Server(1654): pocketmine\Server->start(boolean)
#11 /src/pocketmine/PocketMine(501): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/BlawoHD/Games/PocketMine-MP.phar/, string /home/BlawoHD/Games/, string /home/BlawoHD/Games/plugins/)
#12 (1): require_once(string phar:///home/BlawoHD/Games/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
PocketMine-MP version: 1.6.2dev #0 [Protocol 113; API 3.0.0-ALPHA5]
Git commit: 0000000000000000000000000000000000000000
uname -a: Linux vps 2.6.32-042stab120.19 #1 SMP Mon Feb 20 20:05:53 MSK 2017 x86_64
PHP Version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux
The text was updated successfully, but these errors were encountered: