diff --git a/src/pocketmine/entity/Living.php b/src/pocketmine/entity/Living.php index ffaf7db2f..36ea6207d 100644 --- a/src/pocketmine/entity/Living.php +++ b/src/pocketmine/entity/Living.php @@ -758,6 +758,7 @@ abstract class Living extends Entity{ protected function destroyCycles() : void{ $this->armorInventory = null; + $this->effectManager = null; parent::destroyCycles(); } }