menu
#3977337 Allowed memory size exhausted

Submitted by PocketMine-MP 3.9.0

General information

Version: 3.9.0
Git commit: bd69c66d
Plugin involvement: None
Report date: 2020-03-24 22:16:53 +0000 UTC

System Information

PHP version: 7.3.14
Operating system: linux
System banner: Linux bff3c7f1ca0c 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 x86_64

Error information

Message: Allowed memory size exhausted
File: src/pocketmine/entity/Living
Line: #326
Error level: E_ERROR
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
	protected function recalculateEffectColor() : void{
/** @var Color[] $colors */
$colors = [];
$ambient = true;
foreach($this->effects as $effect){
if($effect->isVisible() and $effect->getType()->hasBubbles()){
$level = $effect->getEffectLevel();
$color = $effect->getColor();
for($i = 0; $i < $level; ++$i){
$colors[] = $color;
}

if(!$effect->isAmbient()){
$ambient = false;
}
}
}

if(!empty($colors)){
$this->propertyManager->setInt(Entity::DATA_POTION_COLOR, Color::mix(...$colors)->toARGB());

Loaded Plugins

  • Show

Server Settings

  • Show