diff --git a/src/PersistentData/PersistentDataManager.php b/src/PersistentData/PersistentDataManager.php index 404a0ee..6547782 100644 --- a/src/PersistentData/PersistentDataManager.php +++ b/src/PersistentData/PersistentDataManager.php @@ -305,8 +305,6 @@ class PersistentDataManager implements IPersistentDataManager if ($relationModel !== null) { $model->$methodSet($relationModel->getId()); - } else { - $model->$methodSet(null); } } }