diff --git a/lua/cfw/core/parenting_sv.lua b/lua/cfw/core/parenting_sv.lua index e1237dd..09c302e 100644 --- a/lua/cfw/core/parenting_sv.lua +++ b/lua/cfw/core/parenting_sv.lua @@ -55,6 +55,7 @@ hook.Add("Initialize", "CFW", function() if self._cfwRemoved then return end -- Removed by an undo if oldParent == newParent then return end + if (validOldParent and oldParent:IsPlayer()) or (validNewParent and newParent:IsPlayer()) then return end if filter[self:GetClass()] then return end if validOldParent then disconnect(self, oldParent:EntIndex(), isParent) end