menu
#10625318 Maximum -26 is less than the minimum 0

Submitted by PocketMine-MP 5.13.0

General information

Version: 5.13.0
Git commit: f193a990
Plugin involvement: Indirect
Report date: 2024-04-03 05:40:47 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 9 seconds

System Information

PHP version: 8.2.17
JIT status: Not available
Operating system: linux
System banner: Linux 7bfed5fe-0127-41f6-82c2-d275a6ca786f 5.4.0-163-generic #180-Ubuntu SMP Tue Sep 5 13:21:23 UTC 2023 x86_64

Error information

Warning: the Lifesteal plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Thread: Main
Message: Maximum -26 is less than the minimum 0
File: pmsrc/src/entity/Attribute
Line: #95
Type: InvalidArgumentException
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
	public function getMaxValue() : float{
return $this->maxValue;
}

/**
* @return $this
*/
public function setMaxValue(float $maxValue){
if($maxValue < ($min = $this->getMinValue())){
throw new \InvalidArgumentException("Maximum $maxValue is less than the minimum $min");
}

if($this->maxValue != $maxValue){
$this->desynchronized = true;
$this->maxValue = $maxValue;
}
return $this;
}

public function getDefaultValue() : float{
#0 pmsrc/src/entity/Living(217): pocketmine\entity\Attribute->setMaxValue(float -26)
#1 plugins/Lifesteal (1).phar/src/Biswajit/Lifesteal/Main(108): pocketmine\entity\Living->setMaxHealth(int -26)
#2 pmsrc/src/command/PluginCommand(46): Biswajit\Lifesteal\Main->onCommand(object pocketmine\player\Player#136958, object pocketmine\command\PluginCommand#45419, string[10] withdrawal, array[1])
#3 pmsrc/src/command/SimpleCommandMap(212): pocketmine\command\PluginCommand->execute(object pocketmine\player\Player#136958, string[10] withdrawal, array[1])
#4 pmsrc/src/Server(1431): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\player\Player#136958, string[13] withdrawal 20)
#5 pmsrc/src/player/Player(1516): pocketmine\Server->dispatchCommand(object pocketmine\player\Player#136958, string[13] withdrawal 20)
#6 pmsrc/src/network/mcpe/handler/InGamePacketHandler(819): pocketmine\player\Player->chat(string[14] /withdrawal 20)
#7 pmsrc/vendor/pocketmine/bedrock-protocol/src/CommandRequestPacket(55): pocketmine\network\mcpe\handler\InGamePacketHandler->handleCommandRequest(object pocketmine\network\mcpe\protocol\CommandRequestPacket#152446)
#8 pmsrc/src/network/mcpe/NetworkSession(456): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#78410)
#9 pmsrc/src/network/mcpe/NetworkSession(394): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\CommandRequestPacket#152446, string[36] M./withdrawal 20.'O..... +lq..BQ...L)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(214): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[38] .$M./withdrawal 20.'O..... +lq..BQ...L)
#11 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[47] .......JK..U..7Z.P....tK..O...6.....n"..;.C....)
#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(107): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#173894)
#13 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#15 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#17 pmsrc/src/Server(1696): pocketmine\snooze\SleeperHandler->sleepUntil(float 1712122847.1234)
#18 pmsrc/src/Server(1066): pocketmine\Server->tickProcessor()
#19 pmsrc/src/PocketMine(350): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#20 pmsrc/src/PocketMine(373): pocketmine\server()
#21 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show