You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
PocketMine-MP Crash Dump Mon Jan 24 18:09:52 UTC 2022
Error: Value 22 is outside the range 0 - 20
File: pmsrc/src/pocketmine/entity/Attribute
Line: 198
Type: InvalidArgumentException
A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: MultiVersion v0.475.1
Code:
[189] return $this->currentValue;
[190] }
[191]
[192] /**
[193] * @return $this
[194] */
[195] public function setValue(float $value, bool $fit = false, bool $forceSend = false){
[196] if($value > $this->getMaxValue() or $value < $this->getMinValue()){
[197] if(!$fit){
[198] throw new \InvalidArgumentException("Value $value is outside the range " . $this->getMinValue() . " - " . $this->getMaxValue());
[199] }
[200] $value = min(max($value, $this->getMinValue()), $this->getMaxValue());
[201] }
[202]
[203] if($this->currentValue != $value){
[204] $this->desynchronized = true;
[205] $this->currentValue = $value;
[206] }elseif($forceSend){
[207] $this->desynchronized = true;
[208] }
The text was updated successfully, but these errors were encountered: