only one line can f*** everything :P

$this->openEnderchest = array_values($this->openEnderchest);

was the ploblem, old line 47 deleted !