{"action":"closed","issue":{"url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/issues/338","labels_url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/issues/338/comments","events_url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/issues/338/events","html_url":"https://github.com/ImagicalCorp/ImagicalMine/issues/338","id":123179656,"number":338,"title":"Error in entity Attribute ","user":{"login":"peepzandmeepz","id":9538377,"avatar_url":"https://avatars.githubusercontent.com/u/9538377?v=3","gravatar_id":"","url":"https://api.github.com/users/peepzandmeepz","html_url":"https://github.com/peepzandmeepz","followers_url":"https://api.github.com/users/peepzandmeepz/followers","following_url":"https://api.github.com/users/peepzandmeepz/following{/other_user}","gists_url":"https://api.github.com/users/peepzandmeepz/gists{/gist_id}","starred_url":"https://api.github.com/users/peepzandmeepz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peepzandmeepz/subscriptions","organizations_url":"https://api.github.com/users/peepzandmeepz/orgs","repos_url":"https://api.github.com/users/peepzandmeepz/repos","events_url":"https://api.github.com/users/peepzandmeepz/events{/privacy}","received_events_url":"https://api.github.com/users/peepzandmeepz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/labels/Critical","name":"Critical","color":"eb6420"},{"url":"https://api.github.com/repos/ImagicalCorp/ImagicalMine/labels/Help%20Needed","name":"Help Needed","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-20T19:49:33Z","updated_at":"2015-12-21T18:33:12Z","closed_at":"2015-12-21T18:33:12Z","body":"Hi there! Unsure if this issue is duplicated or known, but I skimmed the current issue submissions and didn't find anything related. Once again ahead of time, sorry if this is duplicated or already a known issue.. :)\r\n\r\nI am currently using the most recent build.\r\n\r\nError: Value -1 exceeds the range!\r\nFile: /src/pocketmine/entity/Attribute\r\nLine: 107\r\nType: notice\r\n\r\nCode:\r\n[98]             return $this;\r\n[99]         }\r\n[100] \r\n[101]         public function getValue(){\r\n[102]             return $this->currentValue;\r\n[103]         }\r\n[104] \r\n[105]         public function setValue($value){\r\n[106]             if($value > $this->getMaxValue() or $value < $this->getMinValue()){\r\n[107]                 throw new \\InvalidArgumentException(\"Value $value exceeds the range!\");\r\n[108]             }\r\n[109] \r\n[110]         $this->currentValue = $value;\r\n[111] \r\n[112]         if($this->shouldSend)\r\n[113]             $this->send();\r\n[114]         }\r\n[115] \r\n[116]         public function getName(){\r\n[117]             return $this->name;\r\n\r\nBacktrace:\r\n#0 /src/pocketmine/entity/Entity(638): pocketmine\\Player->setHealth(integer -1)\r\n#1 /src/pocketmine/entity/Living(111): pocketmine\\entity\\Entity->attack(integer 2, pocketmine\\event\\entity\\EntityDamageEvent object)\r\n#2 /src/pocketmine/Player(3420): pocketmine\\entity\\Living->attack(integer 2, pocketmine\\event\\entity\\EntityDamageEvent object)\r\n#3 /src/pocketmine/entity/Living(197): pocketmine\\Player->attack(integer 2, pocketmine\\event\\entity\\EntityDamageEvent object)\r\n#4 /src/pocketmine/Player(1547): pocketmine\\entity\\Living->entityBaseTick(integer 1)\r\n#5 /src/pocketmine/Server(2360): pocketmine\\Player->onUpdate(integer 8097)\r\n#6 /src/pocketmine/Server(2529): pocketmine\\Server->checkTickUpdates(integer 8097, double 1450640501.2369)\r\n#7 /src/pocketmine/Server(2251): pocketmine\\Server->tick(boolean)\r\n#8 /src/pocketmine/Server(2129): pocketmine\\Server->tickProcessor(boolean)\r\n#9 /src/pocketmine/Server(1730): pocketmine\\Server->start(boolean)\r\n#10 /src/pocketmine/PocketMine(469): pocketmine\\Server->__construct(pocketmine\\CompatibleClassLoader object, pocketmine\\utils\\MainLogger object, string phar:///home/minecraft/multicraft/jar/PocketMine-MP.phar/, string /home/minecraft/multicraft/servers/server6/, string /home/minecraft/multicraft/servers/server6/plugins/)\r\n#11 (1): require_once(string phar:///home/minecraft/multicraft/jar/PocketMine-MP.phar/src/pocketmine/PocketMine.php)\r\n"}}